diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-05-19 16:35:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-05-19 16:35:09 +0200 |
commit | 496f9517cb2630cd902be85e51e3ab395a194e85 (patch) | |
tree | 2a8397bda1a6256b31a362d4a31571d037501608 /src/testdir/test3.ok | |
parent | 1385c3ee7f8715796c87d9bb020326ecc681e95d (diff) | |
download | vim-git-496f9517cb2630cd902be85e51e3ab395a194e85.tar.gz |
updated for version 7.3.195v7.3.195
Problem: "} else" causes following lines to be indented too much. (Rouben
Rostamian)
Solution: Better detection for the "else". (Lech Lorens)
Diffstat (limited to 'src/testdir/test3.ok')
-rw-r--r-- | src/testdir/test3.ok | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/testdir/test3.ok b/src/testdir/test3.ok index 656b16ecb..2e622728a 100644 --- a/src/testdir/test3.ok +++ b/src/testdir/test3.ok @@ -1216,6 +1216,34 @@ void func(void) printf("Foo!\n"); } +void func1(void) +{ + char* tab[] = {"foo", "bar", + "baz", "quux", + "this line used", "to be indented incorrectly"}; + foo(); +} + +void func2(void) +{ + int tab[] = + {1, 2, + 3, 4, + 5, 6}; + + printf("This line used to be indented incorrectly.\n"); +} + +void func3(void) +{ + int tab[] = { + 1, 2, + 3, 4, + 5, 6}; + + printf("Don't you dare indent this line incorrectly!\n); +} + void func(void) { |