aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/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
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')
-rw-r--r--tests/indent/lua/no-indent-after-paren-pairs.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/indent/lua/no-indent-after-paren-pairs.lua b/tests/indent/lua/no-indent-after-paren-pairs.lua
new file mode 100644
index 000000000..2243b4029
--- /dev/null
+++ b/tests/indent/lua/no-indent-after-paren-pairs.lua
@@ -0,0 +1,6 @@
+-- Issue #2476
+require("treesitter").setup(
+)
+
+local table = {
+}