2021-02-20 18:28:10 +07:00
|
|
|
[
|
|
|
|
|
(class_body)
|
2022-02-24 17:40:14 -08:00
|
|
|
(enum_body)
|
2022-02-28 12:09:10 -08:00
|
|
|
(interface_body)
|
2021-02-20 18:28:10 +07:00
|
|
|
(constructor_body)
|
|
|
|
|
(block)
|
|
|
|
|
(switch_block)
|
|
|
|
|
(array_initializer)
|
|
|
|
|
(argument_list)
|
2021-02-20 20:18:16 +07:00
|
|
|
(formal_parameters)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.begin
|
2021-02-20 18:28:10 +07:00
|
|
|
|
2023-03-20 14:44:39 -07:00
|
|
|
(expression_statement (method_invocation) @indent.begin)
|
2022-04-02 10:49:09 -07:00
|
|
|
|
2021-02-20 18:28:10 +07:00
|
|
|
[
|
|
|
|
|
"("
|
|
|
|
|
")"
|
|
|
|
|
"{"
|
|
|
|
|
"}"
|
|
|
|
|
"["
|
|
|
|
|
"]"
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.branch
|
2021-03-01 20:20:37 +07:00
|
|
|
|
2023-03-20 14:44:39 -07:00
|
|
|
"}" @indent.end
|
2022-02-24 15:41:15 -08:00
|
|
|
|
2023-03-20 14:44:39 -07:00
|
|
|
(line_comment) @indent.ignore
|
2022-02-28 14:45:18 -08:00
|
|
|
|
2022-02-28 16:31:11 -08:00
|
|
|
[
|
|
|
|
|
(ERROR)
|
|
|
|
|
(block_comment)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.auto
|
|
|
|
|
|