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
|
|
@ -18,17 +18,21 @@
|
|||
(extend_type)
|
||||
(field_type)
|
||||
] @local.reference
|
||||
(custom_type (type_identifier) @local.reference)
|
||||
|
||||
(custom_type
|
||||
(type_identifier) @local.reference)
|
||||
|
||||
(custom_type
|
||||
(generics
|
||||
(generic_parameters
|
||||
(generic_parameters
|
||||
(generic_identifier) @local.reference)))
|
||||
|
||||
(annotation_definition_identifier) @local.definition
|
||||
|
||||
(const_identifier) @local.definition.constant
|
||||
|
||||
(enum (enum_identifier) @local.definition.enum)
|
||||
(enum
|
||||
(enum_identifier) @local.definition.enum)
|
||||
|
||||
[
|
||||
(enum_member)
|
||||
|
|
@ -44,16 +48,19 @@
|
|||
(return_identifier)
|
||||
] @local.definition.parameter
|
||||
|
||||
(group (type_identifier) @local.definition.type)
|
||||
(group
|
||||
(type_identifier) @local.definition.type)
|
||||
|
||||
(struct (type_identifier) @local.definition.type)
|
||||
(struct
|
||||
(type_identifier) @local.definition.type)
|
||||
|
||||
(union (type_identifier) @local.definition.type)
|
||||
(union
|
||||
(type_identifier) @local.definition.type)
|
||||
|
||||
(interface (type_identifier) @local.definition.type)
|
||||
(interface
|
||||
(type_identifier) @local.definition.type)
|
||||
|
||||
; Generics Related (don't know how to combine these)
|
||||
|
||||
(struct
|
||||
(generics
|
||||
(generic_parameters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue