diff --git a/test/indent/c-family/indent-if-body/cmd b/test/indent/c-family/indent-if-body/cmd new file mode 100644 index 00000000..2aa0327d --- /dev/null +++ b/test/indent/c-family/indent-if-body/cmd @@ -0,0 +1 @@ +cfoo diff --git a/test/indent/c-family/indent-if-body/in b/test/indent/c-family/indent-if-body/in new file mode 100644 index 00000000..1b99552b --- /dev/null +++ b/test/indent/c-family/indent-if-body/in @@ -0,0 +1 @@ +if (int i = bar())%( ) diff --git a/test/indent/c-family/indent-if-body/out b/test/indent/c-family/indent-if-body/out new file mode 100644 index 00000000..d4596331 --- /dev/null +++ b/test/indent/c-family/indent-if-body/out @@ -0,0 +1,2 @@ +if (int i = bar()) + foo diff --git a/test/indent/c-family/indent-if-body/rc b/test/indent/c-family/indent-if-body/rc new file mode 100644 index 00000000..53c40654 --- /dev/null +++ b/test/indent/c-family/indent-if-body/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/open-function/cmd b/test/indent/c-family/open-function/cmd new file mode 100644 index 00000000..2aa0327d --- /dev/null +++ b/test/indent/c-family/open-function/cmd @@ -0,0 +1 @@ +cfoo diff --git a/test/indent/c-family/open-function/in b/test/indent/c-family/open-function/in new file mode 100644 index 00000000..e6efd7be --- /dev/null +++ b/test/indent/c-family/open-function/in @@ -0,0 +1 @@ +void func() {%( ) diff --git a/test/indent/c-family/open-function/out b/test/indent/c-family/open-function/out new file mode 100644 index 00000000..6d60025f --- /dev/null +++ b/test/indent/c-family/open-function/out @@ -0,0 +1,2 @@ +void func() { + foo diff --git a/test/indent/c-family/open-function/rc b/test/indent/c-family/open-function/rc new file mode 100644 index 00000000..53c40654 --- /dev/null +++ b/test/indent/c-family/open-function/rc @@ -0,0 +1,3 @@ +source "%val{runtime}/colors/default.kak" +source "%val{runtime}/rc/core/c-family.kak" +set buffer filetype cpp