Bruno BELANYI
b62fc19da9
Make comments a single node in the grammar
...
This looks to be a *strong* idiom in tree-sitter parsers.
2024-04-11 18:36:20 +01:00
Bruno BELANYI
f6e1266493
Consider module as function call for highlighting
...
ci/woodpecker/push/check Pipeline was successful
Their semantic is closer to a function call (like i.e: Bazel rules)
rather than a module/namespace.
Similarly for their properties, which are more like parameters than
members.
2024-04-10 15:21:07 +00:00
Bruno BELANYI
73b0797891
Add builtins highlighting
2024-04-10 15:20:29 +00:00
Bruno BELANYI
3475d713d5
Add 'select' highlighting
2024-04-09 12:28:28 +01:00
Bruno BELANYI
ab6d235540
Add map properties highlighting
2024-04-09 12:28:28 +01:00
Bruno BELANYI
42bef1d592
Add punctuations highlighting
2024-04-09 12:28:28 +01:00
Bruno BELANYI
a9ec312792
Add modules highlighting
...
Still debating whether modules should be highlighted as namespaces or as
function calls.
2024-04-09 12:28:28 +01:00
Bruno BELANYI
7d6dce936a
Account for '-' as an operator
...
For syntax purposes it's part of the number, but it looks better when
highlighted as an operator.
2024-04-09 12:28:28 +01:00
Bruno BELANYI
91e6f7841c
Add operators highlighting
2024-04-09 12:28:28 +01:00
Bruno BELANYI
69e7f36f75
Add variables highlighting
2024-04-09 12:28:28 +01:00
Bruno BELANYI
b9fd34c084
Add literals highlighting
2024-04-08 20:48:15 +01:00
Bruno BELANYI
e2aa90e0f4
Add comments highlighting
2024-04-08 20:48:15 +01:00