Bruno BELANYI
16c43068ec
Align queries with 'nvim-treesitter'
...
ci/woodpecker/push/check Pipeline was successful
Makes it easier to update either way.
2024-12-23 23:08:26 -05:00
Bruno BELANYI
6b0cdd9122
Add select binding locals query
2024-07-01 13:56:21 +00:00
Bruno BELANYI
3e685cb691
Add 'any' highlighting
2024-07-01 13:50:43 +00:00
Bruno BELANYI
c5031e2c16
Add indentation queries for multi-value 'select'
...
Unfortunately, the indentation feature is still a work in progress, so
we have some expected failures in our tests...
2024-05-13 15:44:18 +00:00
Bruno BELANYI
ff40b39dcf
Expose 'condition' node
2024-05-13 15:44:18 +00:00
Bruno BELANYI
f6bc0f887a
Remove 'selection_type' alias
2024-05-13 15:44:18 +00:00
Bruno BELANYI
b04cd92189
Add locals queries
...
ci/woodpecker/push/check Pipeline was successful
Once again, treating module as function calls, since that's basically
what they are...
2024-04-14 13:00:17 +01:00
Bruno BELANYI
8db7b053f5
Add 'default' alias
...
This makes it appear in the tree as a named node.
2024-04-13 18:21:58 +01:00
Bruno BELANYI
f8f328fa17
Add indentation queries
2024-04-13 17:07:37 +01:00
Bruno BELANYI
9e9fde6c77
Add 'comment' injection
2024-04-13 16:01:26 +01:00
Bruno BELANYI
615bb266cc
Add folding query
2024-04-13 16:01:26 +01:00
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