aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2014-12-23 10:24:46 +0100
committerFlorian Walch <florian@fwalch.com>2014-12-23 10:27:05 +0100
commit1053f49ab08681ad2a7f98ee66aa90db9442d937 (patch)
tree5553f1fc108a001a0de6d0433c3ef4e00f80238c /src/nvim/testdir
parentc3de63bfbc168cd8ccc53dbb3e587043c11f7276 (diff)
downloadrneovim-1053f49ab08681ad2a7f98ee66aa90db9442d937.tar.gz
rneovim-1053f49ab08681ad2a7f98ee66aa90db9442d937.tar.bz2
rneovim-1053f49ab08681ad2a7f98ee66aa90db9442d937.zip
vim-patch:7.4.395
Problem: C indent is wrong below an if with wrapped condition followed by curly braces. (Trevor Powell) Solution: Make a copy of tryposBrace. https://code.google.com/p/vim/source/detail?r=v7-4-395
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test3.in8
-rw-r--r--src/nvim/testdir/test3.ok8
2 files changed, 16 insertions, 0 deletions
diff --git a/src/nvim/testdir/test3.in b/src/nvim/testdir/test3.in
index 7f6d412806..42255e2019 100644
--- a/src/nvim/testdir/test3.in
+++ b/src/nvim/testdir/test3.in
@@ -464,6 +464,14 @@ label: if (asdf &&
asdfasdf
}
+{
+for ( int i = 0;
+ i < 10; i++ )
+{
+}
+ i = 0;
+}
+
class bob
{
int foo() {return 1;}
diff --git a/src/nvim/testdir/test3.ok b/src/nvim/testdir/test3.ok
index 0d0e76fce4..e75de0ffa3 100644
--- a/src/nvim/testdir/test3.ok
+++ b/src/nvim/testdir/test3.ok
@@ -452,6 +452,14 @@ label: if (asdf &&
asdfasdf
}
+{
+ for ( int i = 0;
+ i < 10; i++ )
+ {
+ }
+ i = 0;
+}
+
class bob
{
int foo() {return 1;}