mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
* fix Java indent for multiple line arguments, fixes #4448, add an additional test for methods with arguments on multiple lines * Satisfy StyLua check --------- Co-authored-by: Daniel Woznicki <danwoz@nettoolkit.com>
31 lines
351 B
Scheme
31 lines
351 B
Scheme
[
|
|
(class_body)
|
|
(enum_body)
|
|
(interface_body)
|
|
(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
|