aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/lua_spec.lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-02-06 19:31:24 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-02-06 20:47:15 +0100
commit5fd68ba0c26e2f5daf4826f3d436fef42a01ecf0 (patch)
tree725e83818aa215ab163b7deb141fc4531c605fbd /tests/indent/lua_spec.lua
parentfix: readme typo, removing deprecated docs (diff)
downloadnvim-treesitter-5fd68ba0c26e2f5daf4826f3d436fef42a01ecf0.tar
nvim-treesitter-5fd68ba0c26e2f5daf4826f3d436fef42a01ecf0.tar.gz
nvim-treesitter-5fd68ba0c26e2f5daf4826f3d436fef42a01ecf0.tar.bz2
nvim-treesitter-5fd68ba0c26e2f5daf4826f3d436fef42a01ecf0.tar.lz
nvim-treesitter-5fd68ba0c26e2f5daf4826f3d436fef42a01ecf0.tar.xz
nvim-treesitter-5fd68ba0c26e2f5daf4826f3d436fef42a01ecf0.tar.zst
nvim-treesitter-5fd68ba0c26e2f5daf4826f3d436fef42a01ecf0.zip
indents(lua): make ")" `@indent_end
Fixes #2476
Diffstat (limited to 'tests/indent/lua_spec.lua')
-rw-r--r--tests/indent/lua_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/indent/lua_spec.lua b/tests/indent/lua_spec.lua
index b90c9b66e..2da965e48 100644
--- a/tests/indent/lua_spec.lua
+++ b/tests/indent/lua_spec.lua
@@ -36,5 +36,7 @@ describe("indent Lua:", function()
run:new_line("cond.lua", { on_line = 8, text = "x = x + 1", indent = 4 })
run:new_line("cond.lua", { on_line = 10, text = "x = x + 1", indent = 2 })
run:new_line("cond.lua", { on_line = 12, text = "x = x + 1", indent = 0 })
+ run:new_line("no-indent-after-paren-pairs.lua", { on_line = 3, text = "x = x + 1", indent = 0 })
+ run:new_line("no-indent-after-paren-pairs.lua", { on_line = 6, text = "x = x + 1", indent = 0 })
end)
end)