Add an indentation test for braces after if
This commit is contained in:
parent
80d661e6a7
commit
78530b82be
1
test/indent/c-family/indent-if-brace/cmd
Normal file
1
test/indent/c-family/indent-if-brace/cmd
Normal file
|
@ -0,0 +1 @@
|
||||||
|
c<ret>{<ret>foo<esc>
|
1
test/indent/c-family/indent-if-brace/in
Normal file
1
test/indent/c-family/indent-if-brace/in
Normal file
|
@ -0,0 +1 @@
|
||||||
|
if (int i = bar())%( )
|
3
test/indent/c-family/indent-if-brace/out
Normal file
3
test/indent/c-family/indent-if-brace/out
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
if (int i = bar())
|
||||||
|
{
|
||||||
|
foo
|
3
test/indent/c-family/indent-if-brace/rc
Normal file
3
test/indent/c-family/indent-if-brace/rc
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
source "%val{runtime}/colors/default.kak"
|
||||||
|
source "%val{runtime}/rc/core/c-family.kak"
|
||||||
|
set buffer filetype cpp
|
1
test/indent/c-family/indent-if-brace/state
Normal file
1
test/indent/c-family/indent-if-brace/state
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.7,3.7
|
Loading…
Reference in New Issue
Block a user