diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-05-10 11:39:19 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-05-10 11:39:19 +0200 |
commit | 4ae06c1fa5973496deb74ef06dd116843bf0b647 (patch) | |
tree | ee4daefee496c8a6e79bbcd8d88b00e9aaaa5d6a /src/testdir/test3.in | |
parent | 3c9c99cb2c7839b96101ba0f41e93f8991adf531 (diff) | |
download | vim-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.in | 16 |
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 |