mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
Added fix for Java interfaces not being indented properly
This commit is contained in:
parent
dcfd6c0637
commit
bf2493f5e1
3 changed files with 4 additions and 0 deletions
|
|
@ -21,5 +21,6 @@ describe("indent Java:", function()
|
|||
run:new_line("enum.java", { on_line = 2, text = "THING_B,", indent = 2 })
|
||||
run:new_line("class_with_annotation.java", { on_line = 2, text = "void foo() {}", indent = 2 })
|
||||
run:new_line("enum_with_annotation.java", { on_line = 2, text = "THING;", indent = 2 })
|
||||
run:new_line("interface.java", { on_line = 1, text = "void foo();", indent = 2 })
|
||||
end)
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue