summaryrefslogtreecommitdiffstats
path: root/src/testdir/test45.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-04-15 12:43:50 +0200
committerBram Moolenaar <Bram@vim.org>2015-04-15 12:43:50 +0200
commitd5f6933d5c57ea6f79bbdeab6c426cf66a393f33 (patch)
treea195ad8661e0cd1ae02670e2365ff77ea64894c6 /src/testdir/test45.in
parent05b20fb14ec3219d73014595cfb6cc28ae1e1fc3 (diff)
patch 7.4.700v7.4.700
Problem: Fold can't be opened after ":move". (Ein Brown) Solution: Delete the folding information and update it afterwards. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test45.in')
-rw-r--r--src/testdir/test45.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test45.in b/src/testdir/test45.in
index e5af5073d9..b1e8266ab6 100644
--- a/src/testdir/test45.in
+++ b/src/testdir/test45.in
@@ -63,6 +63,16 @@ endfun
:call append("$", foldlevel("."))
:/^last/+1,$w! test.out
:delfun Flvl
+:new
+iTest fdm=indent and :move bug END
+line2
+ Test fdm=indent START
+ line3
+ line4
+:set fdm=indent
+:1m1
+2jzc:m0
+:%w >> test.out
:qa!
ENDTEST