lua.kak: Add test cases for unindent
This commit is contained in:
parent
c26fb65ed1
commit
25a0fe8f58
1
test/indent/lua/unindent-after-end/cmd
Normal file
1
test/indent/lua/unindent-after-end/cmd
Normal file
|
@ -0,0 +1 @@
|
|||
cend<esc>
|
7
test/indent/lua/unindent-after-end/in
Normal file
7
test/indent/lua/unindent-after-end/in
Normal file
|
@ -0,0 +1,7 @@
|
|||
if A then
|
||||
%( )
|
||||
|
||||
if A then
|
||||
while B then
|
||||
end
|
||||
%( )
|
7
test/indent/lua/unindent-after-end/out
Normal file
7
test/indent/lua/unindent-after-end/out
Normal file
|
@ -0,0 +1,7 @@
|
|||
if A then
|
||||
end
|
||||
|
||||
if A then
|
||||
while B then
|
||||
end
|
||||
end
|
3
test/indent/lua/unindent-after-end/rc
Normal file
3
test/indent/lua/unindent-after-end/rc
Normal file
|
@ -0,0 +1,3 @@
|
|||
source "%val{runtime}/colors/default.kak"
|
||||
source "%val{runtime}/rc/filetype/lua.kak"
|
||||
set buffer filetype lua
|
Loading…
Reference in New Issue
Block a user