Add some missing tests for c-family indent
This commit is contained in:
parent
2f9b77b748
commit
1c16a91fd6
1
test/indent/c-family/indent-if-body/cmd
Normal file
1
test/indent/c-family/indent-if-body/cmd
Normal file
|
@ -0,0 +1 @@
|
|||
c<ret>foo<esc>
|
1
test/indent/c-family/indent-if-body/in
Normal file
1
test/indent/c-family/indent-if-body/in
Normal file
|
@ -0,0 +1 @@
|
|||
if (int i = bar())%( )
|
2
test/indent/c-family/indent-if-body/out
Normal file
2
test/indent/c-family/indent-if-body/out
Normal file
|
@ -0,0 +1,2 @@
|
|||
if (int i = bar())
|
||||
foo
|
3
test/indent/c-family/indent-if-body/rc
Normal file
3
test/indent/c-family/indent-if-body/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/open-function/cmd
Normal file
1
test/indent/c-family/open-function/cmd
Normal file
|
@ -0,0 +1 @@
|
|||
c<ret>foo<esc>
|
1
test/indent/c-family/open-function/in
Normal file
1
test/indent/c-family/open-function/in
Normal file
|
@ -0,0 +1 @@
|
|||
void func() {%( )
|
2
test/indent/c-family/open-function/out
Normal file
2
test/indent/c-family/open-function/out
Normal file
|
@ -0,0 +1,2 @@
|
|||
void func() {
|
||||
foo
|
3
test/indent/c-family/open-function/rc
Normal file
3
test/indent/c-family/open-function/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
|
Loading…
Reference in New Issue
Block a user