feat(t32)!: update queries for new HLL node types

- Lock grammar to version 2.1.1
- Update query for syntax hightlighting
- fix missing locals query
- reduce number of "(identifier) @variable" highlight queries
- revert to capture @function.builtin for PRACTICE call expressions
This commit is contained in:
Christoph Sax 2023-07-25 06:12:57 +02:00 committed by Christian Clason
parent e8648569d8
commit 2fb7359828
3 changed files with 119 additions and 26 deletions

View file

@ -13,7 +13,7 @@
(command_expression
command: (identifier)
arguments: (argument_list
variable: (identifier) @definition.var))
declarator: (trace32_hll_variable) @definition.var))
; Function definitions
(subroutine_block
@ -32,4 +32,7 @@
(#set! reference.kind "function")
)
(macro) @reference
[
(macro)
(trace32_hll_variable)
] @reference