chore: query formatting

This commit is contained in:
Pham Huy Hoang 2024-01-06 15:05:50 +09:00 committed by Christian Clason
parent 79975d6557
commit 57a8acf0c4
674 changed files with 18466 additions and 12648 deletions

View file

@ -1,5 +1,4 @@
; Scopes
[
(block)
(defined_resource_type)
@ -16,31 +15,50 @@
] @local.scope
; References
[
(identifier)
(class_identifier)
(variable)
(variable)
] @local.reference
; Definitions
(attribute [(identifier) (variable)] @local.definition.field)
(attribute
[
(identifier)
(variable)
] @local.definition.field)
(function_declaration
[(identifier) (class_identifier)] @local.definition.function)
[
(identifier)
(class_identifier)
] @local.definition.function)
(include_statement [(identifier) (class_identifier)] @local.definition.import)
(include_statement
[
(identifier)
(class_identifier)
] @local.definition.import)
(parameter (variable) @local.definition.parameter)
(parameter
(variable) @local.definition.parameter)
(class_definition
[(identifier) (class_identifier)] @local.definition.type)
[
(identifier)
(class_identifier)
] @local.definition.type)
(node_definition
(node_name (identifier) @local.definition.type))
(node_name
(identifier) @local.definition.type))
(resource_declaration
[(identifier) (class_identifier)] @local.definition.type)
[
(identifier)
(class_identifier)
] @local.definition.type)
(assignment . (variable) @local.definition.var)
(assignment
.
(variable) @local.definition.var)