1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/bundle/nvim-treesitter/queries/java/indents.scm
2022-04-14 12:01:23 +08:00

35 lines
385 B
Scheme
Vendored

[
(class_body)
(enum_body)
(interface_body)
(constructor_declaration)
(constructor_body)
(block)
(switch_block)
(array_initializer)
(argument_list)
(formal_parameters)
] @indent
(expression_statement (method_invocation) @indent)
[
"("
")"
"{"
"}"
"["
"]"
] @branch
[
"}"
] @indent_end
(line_comment) @ignore
[
(ERROR)
(block_comment)
] @auto