summaryrefslogtreecommitdiff
path: root/src/testdir/test3.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-10 11:39:19 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-10 11:39:19 +0200
commit4ae06c1fa5973496deb74ef06dd116843bf0b647 (patch)
treeee4daefee496c8a6e79bbcd8d88b00e9aaaa5d6a /src/testdir/test3.in
parent3c9c99cb2c7839b96101ba0f41e93f8991adf531 (diff)
downloadvim-git-4ae06c1fa5973496deb74ef06dd116843bf0b647.tar.gz
updated for version 7.3.178v7.3.178
Problem: C-indent doesn't handle code right after { correctly. Solution: Fix detecting unterminated line. (Lech Lorens)
Diffstat (limited to 'src/testdir/test3.in')
-rw-r--r--src/testdir/test3.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/testdir/test3.in b/src/testdir/test3.in
index 62402fb98..8576e275a 100644
--- a/src/testdir/test3.in
+++ b/src/testdir/test3.in
@@ -1344,6 +1344,22 @@ func(int a
}
STARTTEST
+:set cino&
+2kdd=][
+ENDTEST
+
+void func(void)
+{
+ if(x==y)
+ if(y==z)
+ foo=1;
+ else { bar=1;
+ baz=2;
+ }
+ printf("Foo!\n");
+}
+
+STARTTEST
:g/^STARTTEST/.,/^ENDTEST/d
:1;/start of AUTO/,$wq! test.out
ENDTEST