mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -04:00
indents(php): add another test
This commit is contained in:
parent
1b0a74afa8
commit
992926ab99
3 changed files with 15 additions and 3 deletions
|
|
@ -16,5 +16,9 @@ describe("indent PHP:", function()
|
|||
|
||||
describe("new line:", function()
|
||||
run:new_line("example.php", { on_line = 11, text = "// new line starts 1 indentation to far", indent = 4 })
|
||||
run:new_line(
|
||||
"example2.php",
|
||||
{ on_line = 5, text = "// indendation with `enter` in insert mode is not correct", indent = 4 }
|
||||
)
|
||||
end)
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue