From aede6ceba3030db559f503268be9cad75a08ca39 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 10 May 2011 11:56:30 +0200 Subject: updated for version 7.3.179 Problem: C-indent doesn't handle colon in string correctly. Solution: Skip the string. (Lech Lorens) --- src/testdir/test3.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/testdir/test3.in') diff --git a/src/testdir/test3.in b/src/testdir/test3.in index 8576e275a..e4c699394 100644 --- a/src/testdir/test3.in +++ b/src/testdir/test3.in @@ -1359,6 +1359,19 @@ void func(void) printf("Foo!\n"); } +STARTTEST +:set cino& +2kdd=][ +ENDTEST + +void func(void) +{ + cout << "a" + << "b" + << ") :" + << "c"; +} + STARTTEST :g/^STARTTEST/.,/^ENDTEST/d :1;/start of AUTO/,$wq! test.out -- cgit v1.2.3