mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -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,11 +1,11 @@
|
|||
; locals.scm
|
||||
|
||||
(function_definition) @scope
|
||||
(function_definition) @local.scope
|
||||
|
||||
(formal_parameters (identifier) @definition.parameter)
|
||||
(formal_parameters (identifier) @local.definition.parameter)
|
||||
|
||||
(left_assignment name: (identifier) @definition)
|
||||
(equals_assignment name: (identifier) @definition)
|
||||
(right_assignment name: (identifier) @definition)
|
||||
(left_assignment name: (identifier) @local.definition)
|
||||
(equals_assignment name: (identifier) @local.definition)
|
||||
(right_assignment name: (identifier) @local.definition)
|
||||
|
||||
(identifier) @reference
|
||||
(identifier) @local.reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue