Add indent tests for brace after else indent
This commit is contained in:
parent
6e1e79ed19
commit
e840140b38
1
test/indent/c-family/indent-else-brace/cmd
Normal file
1
test/indent/c-family/indent-else-brace/cmd
Normal file
|
@ -0,0 +1 @@
|
||||||
|
c<ret>{<ret>foo<esc>
|
3
test/indent/c-family/indent-else-brace/in
Normal file
3
test/indent/c-family/indent-else-brace/in
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
if (condition)
|
||||||
|
foo();
|
||||||
|
else%( )
|
5
test/indent/c-family/indent-else-brace/out
Normal file
5
test/indent/c-family/indent-else-brace/out
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
if (condition)
|
||||||
|
foo();
|
||||||
|
else
|
||||||
|
{
|
||||||
|
foo
|
3
test/indent/c-family/indent-else-brace/rc
Normal file
3
test/indent/c-family/indent-else-brace/rc
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
source "%val{runtime}/colors/default.kak"
|
||||||
|
source "%val{runtime}/rc/filetype/c-family.kak"
|
||||||
|
set buffer filetype cpp
|
Loading…
Reference in New Issue
Block a user