summaryrefslogtreecommitdiff
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-02-24 14:34:19 +0100
committerBram Moolenaar <Bram@vim.org>2010-02-24 14:34:19 +0100
commitf4d7f944baf3e6aaf8a17e9b6fae54e96d121be5 (patch)
tree0aef5f7b9ec4885df7d45d58c312236111752e0d /src/testdir
parent54c1b4965b6072352d84c41fb4101e8a2214cc6b (diff)
downloadvim-git-f4d7f944baf3e6aaf8a17e9b6fae54e96d121be5.tar.gz
updated for version 7.2.370v7.2.370
Problem: A redraw may cause folds to be closed. Solution: Revert part of the previous patch. Add a test. (Lech Lorens)
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test45.in2
-rw-r--r--src/testdir/test45.ok1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test45.in b/src/testdir/test45.in
index 1dfad5454..e5af5073d 100644
--- a/src/testdir/test45.in
+++ b/src/testdir/test45.in
@@ -36,6 +36,8 @@ Gzk:call append("$", "folding " . getline("."))
k:call append("$", getline("."))
jAcommentstart Acommentend:set fdl=1
3j:call append("$", getline("."))
+:set fdl=0
+zO j:call append("$", getline("."))
:" test expression folding
:fun Flvl()
let l = getline(v:lnum)
diff --git a/src/testdir/test45.ok b/src/testdir/test45.ok
index 713cf882e..f04996e33 100644
--- a/src/testdir/test45.ok
+++ b/src/testdir/test45.ok
@@ -11,6 +11,7 @@ indent 2
folding 9 ii
3 cc
7 gg
+8 hh
expr 2
1
2