diff --git a/test/indent/c-family/indent-if-brace/cmd b/test/indent/c-family/indent-if-brace/cmd new file mode 100644 index 00000000..6b9f1f98 --- /dev/null +++ b/test/indent/c-family/indent-if-brace/cmd @@ -0,0 +1 @@ +c{foo diff --git a/test/indent/c-family/indent-if-brace/in b/test/indent/c-family/indent-if-brace/in new file mode 100644 index 00000000..1b99552b --- /dev/null +++ b/test/indent/c-family/indent-if-brace/in @@ -0,0 +1 @@ +if (int i = bar())%( ) diff --git a/test/indent/c-family/indent-if-brace/out b/test/indent/c-family/indent-if-brace/out new file mode 100644 index 00000000..c5e3e8f3 --- /dev/null +++ b/test/indent/c-family/indent-if-brace/out @@ -0,0 +1,3 @@ +if (int i = bar()) +{ + foo diff --git a/test/indent/c-family/indent-if-brace/rc b/test/indent/c-family/indent-if-brace/rc new file mode 100644 index 00000000..53c40654 --- /dev/null +++ b/test/indent/c-family/indent-if-brace/rc @@ -0,0 +1,3 @@ +source "%val{runtime}/colors/default.kak" +source "%val{runtime}/rc/core/c-family.kak" +set buffer filetype cpp diff --git a/test/indent/c-family/indent-if-brace/state b/test/indent/c-family/indent-if-brace/state new file mode 100644 index 00000000..9c868b6b --- /dev/null +++ b/test/indent/c-family/indent-if-brace/state @@ -0,0 +1 @@ +3.7,3.7