aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/lua_spec.lua
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-08-04 18:26:18 -0700
committerChristian Clason <c.clason@uni-graz.at>2024-08-05 10:07:41 +0200
commit558c7ad7bf147c1394d971e6a734ea16e440d51a (patch)
tree9ce510beae70b49767e268fb3bb8f7e0728d3fb7 /tests/indent/lua_spec.lua
parentbot(lockfile): update perl, typespec (diff)
downloadnvim-treesitter-558c7ad7bf147c1394d971e6a734ea16e440d51a.tar
nvim-treesitter-558c7ad7bf147c1394d971e6a734ea16e440d51a.tar.gz
nvim-treesitter-558c7ad7bf147c1394d971e6a734ea16e440d51a.tar.bz2
nvim-treesitter-558c7ad7bf147c1394d971e6a734ea16e440d51a.tar.lz
nvim-treesitter-558c7ad7bf147c1394d971e6a734ea16e440d51a.tar.xz
nvim-treesitter-558c7ad7bf147c1394d971e6a734ea16e440d51a.tar.zst
nvim-treesitter-558c7ad7bf147c1394d971e6a734ea16e440d51a.zip
fix(lua): proper indent after multiline string arg
Diffstat (limited to 'tests/indent/lua_spec.lua')
-rw-r--r--tests/indent/lua_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/indent/lua_spec.lua b/tests/indent/lua_spec.lua
index b54ec6512..6d99a0fff 100644
--- a/tests/indent/lua_spec.lua
+++ b/tests/indent/lua_spec.lua
@@ -28,6 +28,7 @@ describe("indent Lua:", function()
run:new_line("string.lua", { on_line = 2, text = "x", indent = 0 })
run:new_line("string.lua", { on_line = 3, text = "x", indent = 2 })
run:new_line("string.lua", { on_line = 4, text = "x", indent = 4 })
+ run:new_line("string.lua", { on_line = 9, text = "x", indent = 0 })
run:new_line("table.lua", { on_line = 1, text = "b = 0,", indent = 2 })
run:new_line("table.lua", { on_line = 5, text = "4,", indent = 4 })
run:new_line("table.lua", { on_line = 7, text = "4,", indent = 4 })