mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.0.0293: some tests have a one or three second wait
Problem: Some tests have a one or three second wait.
Solution: Reset the 'showmode' option. Use a test time of one to disable
sleep after an error or warning message.
e5f2a075e3
This commit is contained in:
parent
840a2bb67d
commit
7a91177bc9
@ -54,9 +54,6 @@ else
|
|||||||
set encoding=latin1
|
set encoding=latin1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Avoid stopping at the "hit enter" prompt
|
|
||||||
set nomore
|
|
||||||
|
|
||||||
" Output all messages in English.
|
" Output all messages in English.
|
||||||
lang mess C
|
lang mess C
|
||||||
|
|
||||||
@ -84,6 +81,13 @@ endfunc
|
|||||||
func RunTheTest(test)
|
func RunTheTest(test)
|
||||||
echo 'Executing ' . a:test
|
echo 'Executing ' . a:test
|
||||||
|
|
||||||
|
" Avoid stopping at the "hit enter" prompt
|
||||||
|
set nomore
|
||||||
|
|
||||||
|
" Avoid a three second wait when a message is about to be overwritten by the
|
||||||
|
" mode message.
|
||||||
|
set noshowmode
|
||||||
|
|
||||||
" Some tests wipe out buffers. To be consistent, always wipe out all
|
" Some tests wipe out buffers. To be consistent, always wipe out all
|
||||||
" buffers.
|
" buffers.
|
||||||
%bwipe!
|
%bwipe!
|
||||||
|
Loading…
Reference in New Issue
Block a user