mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
feat(locals)!: switch to upstream captures
This commit is contained in:
parent
f197a15b0d
commit
5b90ea2aba
109 changed files with 1341 additions and 1341 deletions
|
|
@ -2,23 +2,23 @@
|
|||
|
||||
(assignment
|
||||
key: "LABEL"
|
||||
(value (content) @definition))
|
||||
(value (content) @local.definition))
|
||||
|
||||
(assignment
|
||||
key: "GOTO"
|
||||
(value (content) @reference))
|
||||
(value (content) @local.reference))
|
||||
|
||||
;; env vars
|
||||
|
||||
(assignment
|
||||
key: "ENV"
|
||||
(env_var) @definition.var)
|
||||
(env_var) @local.definition.var)
|
||||
|
||||
(match
|
||||
key: "ENV"
|
||||
(env_var) @reference)
|
||||
(env_var) @local.reference)
|
||||
|
||||
(var_sub (env_var) @reference)
|
||||
(var_sub (env_var) @local.reference)
|
||||
|
||||
;; misc
|
||||
|
||||
|
|
@ -26,4 +26,4 @@
|
|||
(attribute)
|
||||
(kernel_param)
|
||||
(seclabel)
|
||||
] @reference
|
||||
] @local.reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue