mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -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
|
|
@ -7,12 +7,12 @@
|
|||
(begin_statement)
|
||||
(while_statement)
|
||||
(switch_statement)
|
||||
] @scope
|
||||
] @local.scope
|
||||
|
||||
;; Definitions
|
||||
(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