mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,12 +1,25 @@
|
|||
(source_file) @local.scope
|
||||
(source_file (array) @local.scope)
|
||||
(source_file (map) @local.scope)
|
||||
(source_file (struct) @local.scope)
|
||||
(source_file (tuple) @local.scope)
|
||||
|
||||
(source_file
|
||||
(array) @local.scope)
|
||||
|
||||
(source_file
|
||||
(map) @local.scope)
|
||||
|
||||
(source_file
|
||||
(struct) @local.scope)
|
||||
|
||||
(source_file
|
||||
(tuple) @local.scope)
|
||||
|
||||
(identifier) @local.reference
|
||||
|
||||
(struct_entry (identifier) @local.definition.field)
|
||||
(struct_entry (identifier) @local.definition.enum (enum_variant))
|
||||
(struct_entry
|
||||
(identifier) @local.definition.field)
|
||||
|
||||
(struct (struct_name) @local.definition.type)
|
||||
(struct_entry
|
||||
(identifier) @local.definition.enum
|
||||
(enum_variant))
|
||||
|
||||
(struct
|
||||
(struct_name) @local.definition.type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue