mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 05:20:00 -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
|
|
@ -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