comparison src/testdir/test3.in @ 2807:11e62fb6f815 v7.3.179

updated for version 7.3.179 Problem: C-indent doesn't handle colon in string correctly. Solution: Skip the string. (Lech Lorens)
author Bram Moolenaar <bram@vim.org>
date Tue, 10 May 2011 11:56:30 +0200
parents ac639ca9f58f
children ed47d18b39c6
comparison
equal deleted inserted replaced
2806:27b142f1f434 2807:11e62fb6f815
1363 } 1363 }
1364 printf("Foo!\n"); 1364 printf("Foo!\n");
1365 } 1365 }
1366 1366
1367 STARTTEST 1367 STARTTEST
1368 :set cino&
1369 2kdd=][
1370 ENDTEST
1371
1372 void func(void)
1373 {
1374 cout << "a"
1375 << "b"
1376 << ") :"
1377 << "c";
1378 }
1379
1380 STARTTEST
1368 :g/^STARTTEST/.,/^ENDTEST/d 1381 :g/^STARTTEST/.,/^ENDTEST/d
1369 :1;/start of AUTO/,$wq! test.out 1382 :1;/start of AUTO/,$wq! test.out
1370 ENDTEST 1383 ENDTEST