forked from aniani/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)
This commit is contained in:
@@ -1632,7 +1632,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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user