comparison src/testdir/test3.in @ 3220:534b3ef1cf14 v7.3.380

updated for version 7.3.380 Problem: C-indenting wrong for a function header. Solution: Skip to the start paren. (Lech Lorens)
author Bram Moolenaar <bram@vim.org>
date Wed, 14 Dec 2011 20:21:35 +0100
parents 0f193ef0f429
children 214c7ec1c8f9
comparison
equal deleted inserted replaced
3219:8e510a5ff5e7 3220:534b3ef1cf14
1432 { 1432 {
1433 } 1433 }
1434 1434
1435 STARTTEST 1435 STARTTEST
1436 :set cino& 1436 :set cino&
1437 2kdd=4][ 1437 2kdd=7][
1438 ENDTEST 1438 ENDTEST
1439 1439
1440 void func(void) 1440 void func(void)
1441 { 1441 {
1442 if(x==y) 1442 if(x==y)
1481 int tab[] = { 1481 int tab[] = {
1482 1, 2, 1482 1, 2,
1483 3, 4, 1483 3, 4,
1484 5, 6}; 1484 5, 6};
1485 1485
1486 printf("Don't you dare indent this line incorrectly!\n); 1486 printf("Don't you dare indent this line incorrectly!\n");
1487 }
1488
1489 void
1490 func4(a, b,
1491 c)
1492 int a;
1493 int b;
1494 int c;
1495 {
1496 }
1497
1498 void
1499 func5(
1500 int a,
1501 int b)
1502 {
1503 }
1504
1505 void
1506 func6(
1507 int a)
1508 {
1487 } 1509 }
1488 1510
1489 STARTTEST 1511 STARTTEST
1490 :set cino& 1512 :set cino&
1491 :set cino+=l1 1513 :set cino+=l1