diff --git a/test/indent/lua/unindent-after-end/cmd b/test/indent/lua/unindent-after-end/cmd new file mode 100644 index 00000000..d9f644bd --- /dev/null +++ b/test/indent/lua/unindent-after-end/cmd @@ -0,0 +1 @@ +cend diff --git a/test/indent/lua/unindent-after-end/in b/test/indent/lua/unindent-after-end/in new file mode 100644 index 00000000..af777973 --- /dev/null +++ b/test/indent/lua/unindent-after-end/in @@ -0,0 +1,7 @@ +if A then + %( ) + +if A then + while B then + end + %( ) diff --git a/test/indent/lua/unindent-after-end/out b/test/indent/lua/unindent-after-end/out new file mode 100644 index 00000000..2446b3ba --- /dev/null +++ b/test/indent/lua/unindent-after-end/out @@ -0,0 +1,7 @@ +if A then +end + +if A then + while B then + end +end diff --git a/test/indent/lua/unindent-after-end/rc b/test/indent/lua/unindent-after-end/rc new file mode 100644 index 00000000..b5cf999d --- /dev/null +++ b/test/indent/lua/unindent-after-end/rc @@ -0,0 +1,3 @@ +source "%val{runtime}/colors/default.kak" +source "%val{runtime}/rc/filetype/lua.kak" +set buffer filetype lua