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,12 +1,19 @@
(identifier) @variable
(pipe_sequence "|" @operator)
(pipe_sequence
"|" @operator)
(string) @string
(number) @number
(pipe_call
name: (identifier) @function)
(pipe_call
arguments: (pipe_arguments
(identifier) @variable.parameter))
arguments:
(pipe_arguments
(identifier) @variable.parameter))
(structural_assignment
operator: (identifier) @keyword)
@ -18,32 +25,34 @@
function: (identifier) @function)
(call_expression
function: ((identifier) @function.builtin
(#eq? @function.builtin "$any")))
function:
((identifier) @function.builtin
(#eq? @function.builtin "$any")))
[
"let"
"as"
"let"
"as"
] @keyword
[
"("
")"
"["
"]"
"{"
"}"
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket
[
";"
"."
","
"?."
";"
"."
","
"?."
] @punctuation.delimiter
((identifier) @boolean
(#any-of? @boolean "true" "false"))
((identifier) @variable.builtin
(#any-of? @variable.builtin "this" "\$event" "null"))