mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 21:10:15 -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
|
|
@ -1,12 +1,12 @@
|
|||
(source_file) @scope
|
||||
(source_file (array) @scope)
|
||||
(source_file (map) @scope)
|
||||
(source_file (struct) @scope)
|
||||
(source_file (tuple) @scope)
|
||||
(source_file) @local.scope
|
||||
(source_file (array) @local.scope)
|
||||
(source_file (map) @local.scope)
|
||||
(source_file (struct) @local.scope)
|
||||
(source_file (tuple) @local.scope)
|
||||
|
||||
(identifier) @reference
|
||||
(identifier) @local.reference
|
||||
|
||||
(struct_entry (identifier) @definition.field)
|
||||
(struct_entry (identifier) @definition.enum (enum_variant))
|
||||
(struct_entry (identifier) @local.definition.field)
|
||||
(struct_entry (identifier) @local.definition.enum (enum_variant))
|
||||
|
||||
(struct (struct_name) @definition.type)
|
||||
(struct (struct_name) @local.definition.type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue