mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
r(indents): fix brace_list alignment
This commit is contained in:
parent
3b974b7257
commit
cf9faaa0e3
3 changed files with 8 additions and 4 deletions
|
|
@ -27,6 +27,7 @@ describe("indent R:", function()
|
|||
run:new_line("func.R", { on_line = 2, text = "a <- a + 1", indent = 4 })
|
||||
run:new_line("func.R", { on_line = 6, text = "0,", indent = 6 })
|
||||
run:new_line("func.R", { on_line = 6, text = "0,", indent = 6 })
|
||||
run:new_line("func.R", { on_line = 16, text = "x <- x + 1", indent = 4 })
|
||||
|
||||
run:new_line("loop.R", { on_line = 1, text = "x <- x + 1", indent = 0 })
|
||||
run:new_line("loop.R", { on_line = 3, text = "x <- x + 1", indent = 2 })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue