vim-patch:8.1.2272: test may hang at more prompt

Problem:    Test may hang at more prompt.
Solution:   Reset 'more' after resetting 'compatible'. (Michael Soyka)
34059e7b67
This commit is contained in:
Jan Edmund Lazo 2019-11-08 22:02:08 -05:00
parent 2a59ae0f1d
commit 2ed23af9b2
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -1284,7 +1284,7 @@ func s:DoNothing()
endfunc
func Test_script_local_func()
set nocp viminfo+=nviminfo
set nocp nomore viminfo+=nviminfo
new
nnoremap <buffer> _x :call <SID>DoNothing()<bar>call <SID>DoLast()<bar>delfunc <SID>DoNothing<bar>delfunc <SID>DoLast<cr>