mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,9 +1,8 @@
|
|||
; inherits: hlsl
|
||||
|
||||
[
|
||||
(interface_specifier)
|
||||
(extension_specifier)
|
||||
(property_declaration)
|
||||
(subscript_declaration)
|
||||
(init_declaration)
|
||||
(interface_specifier)
|
||||
(extension_specifier)
|
||||
(property_declaration)
|
||||
(subscript_declaration)
|
||||
(init_declaration)
|
||||
] @fold
|
||||
|
|
|
|||
|
|
@ -1,41 +1,42 @@
|
|||
; inherits: hlsl
|
||||
|
||||
[
|
||||
"var"
|
||||
"let"
|
||||
"This"
|
||||
"var"
|
||||
"let"
|
||||
"This"
|
||||
] @type.builtin
|
||||
|
||||
[
|
||||
"interface"
|
||||
"extension"
|
||||
"property"
|
||||
] @keyword
|
||||
"interface"
|
||||
"extension"
|
||||
"property"
|
||||
] @keyword
|
||||
|
||||
"__init" @constructor
|
||||
|
||||
[
|
||||
"__init"
|
||||
] @constructor
|
||||
|
||||
[
|
||||
"__subscript"
|
||||
"get"
|
||||
"set"
|
||||
"__subscript"
|
||||
"get"
|
||||
"set"
|
||||
] @function.builtin
|
||||
|
||||
(interface_requirements (identifier) @type)
|
||||
(interface_requirements
|
||||
(identifier) @type)
|
||||
|
||||
(binary_expression
|
||||
["is" "as"]
|
||||
[
|
||||
"is"
|
||||
"as"
|
||||
]
|
||||
right: (identifier) @type)
|
||||
|
||||
[
|
||||
"as"
|
||||
"is"
|
||||
"as"
|
||||
"is"
|
||||
] @keyword.operator
|
||||
|
||||
[
|
||||
"__exported"
|
||||
"import"
|
||||
"__exported"
|
||||
"import"
|
||||
] @keyword.import
|
||||
|
||||
(property_declaration
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
; inherits: hlsl
|
||||
|
||||
[
|
||||
(interface_specifier)
|
||||
(extension_specifier)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
((preproc_arg) @injection.content
|
||||
(#set! injection.language "slang"))
|
||||
(#set! injection.language "slang"))
|
||||
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
(#set! injection.language "comment"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue