feat: add java indent

This commit is contained in:
elianiva 2021-02-20 18:28:10 +07:00 committed by Kiyan
parent eaca722783
commit a1b51a67d5

19
queries/java/indents.scm Normal file
View file

@ -0,0 +1,19 @@
[
(class_declaration)
(class_body)
(constructor_declaration)
(constructor_body)
(block)
(switch_block)
(array_initializer)
(argument_list)
] @indent
[
"("
")"
"{"
"}"
"["
"]"
] @branch