mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
feat: add java indent
This commit is contained in:
parent
eaca722783
commit
a1b51a67d5
1 changed files with 19 additions and 0 deletions
19
queries/java/indents.scm
Normal file
19
queries/java/indents.scm
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[
|
||||
(class_declaration)
|
||||
(class_body)
|
||||
(constructor_declaration)
|
||||
(constructor_body)
|
||||
(block)
|
||||
(switch_block)
|
||||
(array_initializer)
|
||||
(argument_list)
|
||||
] @indent
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"{"
|
||||
"}"
|
||||
"["
|
||||
"]"
|
||||
] @branch
|
||||
Loading…
Add table
Add a link
Reference in a new issue