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

@ -47,16 +47,13 @@
_ @indent.branch
(#not-has-type? @indent.branch type_parameters parameter))
(ERROR
[
"<"
"{"
"("
"<"
"{"
"("
"["
]
) @indent.begin
]) @indent.begin
; if-elseif
(if_statement
@ -65,23 +62,34 @@
; case Foo:
; default Foo:
; @attribute default Foo:
(switch_entry . _ @indent.branch)
(switch_entry
.
_ @indent.branch)
(function_declaration ")" @indent.branch)
(function_declaration
")" @indent.branch)
(type_parameters
">" @indent.branch @indent.end .)
(tuple_expression
")" @indent.branch @indent.end)
(value_arguments
")" @indent.branch @indent.end)
(tuple_type
")" @indent.branch @indent.end)
(type_parameters ">" @indent.branch @indent.end .)
(tuple_expression ")" @indent.branch @indent.end)
(value_arguments ")" @indent.branch @indent.end)
(tuple_type ")" @indent.branch @indent.end)
(modifiers
(attribute ")" @indent.branch @indent.end))
(attribute
")" @indent.branch @indent.end))
[
"}"
"]"
] @indent.branch @indent.end
[
; (ERROR)
(comment)