In function Test_script_local_func ,defined in test_vimscript.vim, the 
'compatible' option is turned off.  This has the side effect of turning the 
'more' option on which can cause test execution to be halted by the more 
prompt.  The attached patch prevents this by setting 'nomore' after 
'nocp'.  

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/befe8590-1d26-40bd-9482-9b06da8db8a1%40googlegroups.com.
>From 9baee35d1c3587500a8f40888e43161219dcb902 Mon Sep 17 00:00:00 2001
From: msoyka-of-wharton <[email protected]>
Date: Fri, 8 Nov 2019 15:44:12 -0500
Subject: [PATCH] prevent 'more' prompt in Test_script_local_func

---
 src/testdir/test_vimscript.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/testdir/test_vimscript.vim b/src/testdir/test_vimscript.vim
index f1f6fd0..89112de 100644
--- a/src/testdir/test_vimscript.vim
+++ b/src/testdir/test_vimscript.vim
@@ -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>
 
-- 
2.10.0.windows.1

Raspunde prin e-mail lui