aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorwatiko <service@mail.watiko.net>2016-02-05 12:07:46 +0900
committerwatiko <service@mail.watiko.net>2016-02-05 12:21:14 +0900
commit69e448d1d871c648bd1fc0c6067803bdc06c3e5b (patch)
tree7afefa391e85fa4f77fdf2d697d2eb4a2dfa2de9 /src/nvim/testdir
parent863e1c91a6e4daff46cbe976b89e9423ad9bcd04 (diff)
downloadrneovim-69e448d1d871c648bd1fc0c6067803bdc06c3e5b.tar.gz
rneovim-69e448d1d871c648bd1fc0c6067803bdc06c3e5b.tar.bz2
rneovim-69e448d1d871c648bd1fc0c6067803bdc06c3e5b.zip
vim-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) https://github.com/vim/vim/commit/d5f6933d5c57ea6f79bbdeab6c426cf66a393f33
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test45.in10
-rw-r--r--src/nvim/testdir/test45.ok5
2 files changed, 15 insertions, 0 deletions
diff --git a/src/nvim/testdir/test45.in b/src/nvim/testdir/test45.in
index e5af5073d9..b1e8266ab6 100644
--- a/src/nvim/testdir/test45.in
+++ b/src/nvim/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
diff --git a/src/nvim/testdir/test45.ok b/src/nvim/testdir/test45.ok
index f04996e337..0f25e6218a 100644
--- a/src/nvim/testdir/test45.ok
+++ b/src/nvim/testdir/test45.ok
@@ -16,3 +16,8 @@ expr 2
1
2
0
+ Test fdm=indent START
+ line3
+ line4
+Test fdm=indent and :move bug END
+line2