mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 20:40:02 -04:00
feat(locals)!: switch to upstream captures
This commit is contained in:
parent
306367a7f4
commit
8fb218dbfd
95 changed files with 1154 additions and 1154 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