nvim-treesitter/queries/java/indents.scm
George Harker cb568af539 use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
2023-03-24 13:07:53 -04:00

32 lines
385 B
Scheme

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