mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Fixed incorrect Java indentation for method chaining
This commit is contained in:
parent
2472e47e15
commit
e1f8a8a6f8
3 changed files with 9 additions and 1 deletions
|
|
@ -11,6 +11,8 @@
|
|||
(formal_parameters)
|
||||
] @indent
|
||||
|
||||
(expression_statement (method_invocation) @indent)
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
|
|
@ -22,7 +24,6 @@
|
|||
|
||||
[
|
||||
"}"
|
||||
")"
|
||||
] @indent_end
|
||||
|
||||
(line_comment) @ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue