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
|
|
@ -4,31 +4,31 @@
|
|||
(source_file)
|
||||
(field)
|
||||
(for_clause)
|
||||
] @scope
|
||||
] @local.scope
|
||||
|
||||
; References
|
||||
|
||||
(identifier) @reference
|
||||
(identifier) @local.reference
|
||||
|
||||
; Definitions
|
||||
|
||||
(import_spec
|
||||
path: (string) @definition.import)
|
||||
path: (string) @local.definition.import)
|
||||
|
||||
(field
|
||||
(label
|
||||
(identifier) @definition.field))
|
||||
(identifier) @local.definition.field))
|
||||
|
||||
(package_identifier) @definition.namespace
|
||||
(package_identifier) @local.definition.namespace
|
||||
|
||||
(for_clause
|
||||
(identifier) @definition.variable
|
||||
(identifier) @local.definition.variable
|
||||
(expression))
|
||||
|
||||
(for_clause
|
||||
(identifier)
|
||||
(identifier) @definition.variable
|
||||
(identifier) @local.definition.variable
|
||||
(expression))
|
||||
|
||||
(let_clause
|
||||
(identifier) @definition.variable)
|
||||
(identifier) @local.definition.variable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue