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,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

View file

@ -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

View file

@ -1,5 +1,4 @@
; inherits: hlsl
[
(interface_specifier)
(extension_specifier)

View file

@ -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"))