mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 08:20:05 -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,13 +1,13 @@
|
|||
; Scopes
|
||||
(function_definition) @scope
|
||||
(function_definition) @local.scope
|
||||
|
||||
; Definitions
|
||||
(variable_assignment
|
||||
name: (variable_name) @definition.var)
|
||||
name: (variable_name) @local.definition.var)
|
||||
|
||||
(function_definition
|
||||
name: (word) @definition.function)
|
||||
name: (word) @local.definition.function)
|
||||
|
||||
; References
|
||||
(variable_name) @reference
|
||||
(word) @reference
|
||||
(variable_name) @local.reference
|
||||
(word) @local.reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue