mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(ecma): indent end for bracket (#3121)
This commit is contained in:
parent
5dfbbcc46e
commit
6f3fbb2622
3 changed files with 6 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ describe("indent JavaScript:", function()
|
|||
run:new_line("ecma/binary_expression.js", { on_line = info[1], text = "//", indent = info[2] }, info[3], info[4])
|
||||
end
|
||||
|
||||
run:new_line("ecma/new-line-after-class.js", { on_line = 2, text = "", indent = 0 })
|
||||
|
||||
for _, info in ipairs {
|
||||
{ 4, 2 },
|
||||
{ 6, 0 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue