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,20 +1,16 @@
; Includes
"import" @keyword.import
; Conditionals
[
"if"
"else"
] @keyword.conditional
; Repeats
"foreach" @keyword.repeat
; Operators
[
"="
"+="
@ -33,19 +29,17 @@
] @operator
; Variables
(identifier) @variable
; Functions
(call_expression function: (identifier) @function.call)
(call_expression
function: (identifier) @function.call)
; Fields
(scope_access field: (identifier) @variable.member)
(scope_access
field: (identifier) @variable.member)
; Literals
(string) @string
(escape_sequence) @string.escape
@ -59,16 +53,26 @@
(boolean) @boolean
; Punctuation
[ "{" "}" "[" "]" "(" ")" ] @punctuation.bracket
[
"{"
"}"
"["
"]"
"("
")"
] @punctuation.bracket
[
"."
","
] @punctuation.delimiter
(expansion ["$" "${" "}"] @punctuation.special)
(expansion
[
"$"
"${"
"}"
] @punctuation.special)
; Comments
(comment) @comment