vim-patch:8.1.0335: mkview test fails on CI

Problem:    mkview test fails on CI.
Solution:   Attempt to force recomputing curswant after folding.
2bf4fe07b6
This commit is contained in:
Jan Edmund Lazo 2018-09-02 23:33:48 -04:00
parent bd7371f460
commit d7432145ff

View File

@ -160,7 +160,7 @@ func Test_mkview_file()
" Create a view with line number and a fold.
help :mkview
set number
norm! V}zf
norm! V}zf0
let pos = getcurpos()
let linefoldclosed1 = foldclosed('.')
mkview! Xview