diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-04-15 12:43:50 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-04-15 12:43:50 +0200 |
commit | d5f6933d5c57ea6f79bbdeab6c426cf66a393f33 (patch) | |
tree | a195ad8661e0cd1ae02670e2365ff77ea64894c6 /src/testdir/test45.in | |
parent | 05b20fb14ec3219d73014595cfb6cc28ae1e1fc3 (diff) | |
download | vim-d5f6933d5c57ea6f79bbdeab6c426cf66a393f33.zip |
patch 7.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.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test45.in b/src/testdir/test45.in index e5af5073d..b1e8266ab 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 |