diff --git a/test/indent/c-family/indent-else-brace/cmd b/test/indent/c-family/indent-else-brace/cmd new file mode 100644 index 00000000..6b9f1f98 --- /dev/null +++ b/test/indent/c-family/indent-else-brace/cmd @@ -0,0 +1 @@ +c{foo diff --git a/test/indent/c-family/indent-else-brace/in b/test/indent/c-family/indent-else-brace/in new file mode 100644 index 00000000..b2eb3f3d --- /dev/null +++ b/test/indent/c-family/indent-else-brace/in @@ -0,0 +1,3 @@ +if (condition) + foo(); +else%( ) diff --git a/test/indent/c-family/indent-else-brace/out b/test/indent/c-family/indent-else-brace/out new file mode 100644 index 00000000..7f8e1687 --- /dev/null +++ b/test/indent/c-family/indent-else-brace/out @@ -0,0 +1,5 @@ +if (condition) + foo(); +else +{ + foo diff --git a/test/indent/c-family/indent-else-brace/rc b/test/indent/c-family/indent-else-brace/rc new file mode 100644 index 00000000..2c2a7247 --- /dev/null +++ b/test/indent/c-family/indent-else-brace/rc @@ -0,0 +1,3 @@ +source "%val{runtime}/colors/default.kak" +source "%val{runtime}/rc/filetype/c-family.kak" +set buffer filetype cpp