mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -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
|
|
@ -1,17 +1,17 @@
|
|||
; inherits: c
|
||||
|
||||
(reference_declarator
|
||||
(identifier) @definition.var)
|
||||
(identifier) @local.definition.var)
|
||||
|
||||
(type_parameter_declaration
|
||||
(type_identifier) @definition.type)
|
||||
(template_declaration) @scope
|
||||
(type_identifier) @local.definition.type)
|
||||
(template_declaration) @local.scope
|
||||
|
||||
(template_function
|
||||
name: (identifier) @definition.function) @scope
|
||||
name: (identifier) @local.definition.function) @local.scope
|
||||
|
||||
[
|
||||
(foreach_statement)
|
||||
(foreach_instance_statement)
|
||||
(unmasked_statement)
|
||||
] @scope
|
||||
] @local.scope
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue