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

@ -2,13 +2,11 @@
(class_declaration)
(function_declaration)
(enum_declaration)
(array)
(block)
(table)
(anonymous_function)
(parenthesized_expression)
(while_statement)
(switch_statement)
(for_statement)
@ -17,10 +15,9 @@
(catch_statement)
] @indent.begin
(
(if_statement)
(ERROR "else") @indent.begin
)
((if_statement)
(ERROR
"else") @indent.begin)
(if_statement
condition: (_) @indent.begin)
@ -37,11 +34,20 @@
(_) @indent.begin
(catch_statement) @indent.begin)
[ "{" "}" ] @indent.branch
[
"{"
"}"
] @indent.branch
[ "(" ")" ] @indent.branch
[
"("
")"
] @indent.branch
[ "[" "]" ] @indent.branch
[
"["
"]"
] @indent.branch
[
"}"
@ -52,7 +58,6 @@
[
(ERROR)
(comment)
(string)
(verbatim_string)
] @indent.auto