aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/t32/locals.scm
diff options
context:
space:
mode:
authorChristoph Sax <xasc@users.noreply.github.com>2025-11-12 10:06:04 +0100
committerGitHub <noreply@github.com>2025-11-12 10:06:04 +0100
commitb50774079aa3de80a06dce1634e7e1aa26d25848 (patch)
treeaa2e54ae1f0181db9cb8cc02d148ec93989cbbbb /runtime/queries/t32/locals.scm
parentfix(gdshader): add missing keyword to group (#8274) (diff)
downloadnvim-treesitter-b50774079aa3de80a06dce1634e7e1aa26d25848.tar
nvim-treesitter-b50774079aa3de80a06dce1634e7e1aa26d25848.tar.gz
nvim-treesitter-b50774079aa3de80a06dce1634e7e1aa26d25848.tar.bz2
nvim-treesitter-b50774079aa3de80a06dce1634e7e1aa26d25848.tar.lz
nvim-treesitter-b50774079aa3de80a06dce1634e7e1aa26d25848.tar.xz
nvim-treesitter-b50774079aa3de80a06dce1634e7e1aa26d25848.tar.zst
nvim-treesitter-b50774079aa3de80a06dce1634e7e1aa26d25848.zip
feat(t32)!: update parser and queries (#8276)
`trace32_hll_variable` has been removed from the grammar. The queries are now capturing `symbol` instead. `symbol` is highlighted as variable or constant.
Diffstat (limited to 'runtime/queries/t32/locals.scm')
-rw-r--r--runtime/queries/t32/locals.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/t32/locals.scm b/runtime/queries/t32/locals.scm
index 91bf7660e..433a01e8f 100644
--- a/runtime/queries/t32/locals.scm
+++ b/runtime/queries/t32/locals.scm
@@ -13,7 +13,7 @@
(command_expression
command: (identifier)
arguments: (argument_list
- declarator: (trace32_hll_variable) @local.definition.var))
+ declarator: (symbol) @local.definition.var))
; Function definitions
(subroutine_block
@@ -32,5 +32,5 @@
[
(macro)
- (trace32_hll_variable)
+ (symbol)
] @local.reference