summaryrefslogtreecommitdiff
path: root/src/testdir/test3.ok
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-19 16:35:09 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-19 16:35:09 +0200
commit496f9517cb2630cd902be85e51e3ab395a194e85 (patch)
tree2a8397bda1a6256b31a362d4a31571d037501608 /src/testdir/test3.ok
parent1385c3ee7f8715796c87d9bb020326ecc681e95d (diff)
downloadvim-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.ok28
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)
{