Better handle warning wait for new files (#494)
This commit is contained in:
parent
a988d49e42
commit
47dca26d93
@ -25,9 +25,13 @@ endfunction
|
|||||||
function! vimtex#echo#wait() " {{{1
|
function! vimtex#echo#wait() " {{{1
|
||||||
if g:vimtex_echo_ignore_wait | return | endif
|
if g:vimtex_echo_ignore_wait | return | endif
|
||||||
|
|
||||||
|
if filereadable(expand('%'))
|
||||||
echohl VimtexMsg
|
echohl VimtexMsg
|
||||||
call input('Press any key to continue ...')
|
call input('Press any key to continue ...')
|
||||||
echohl None
|
echohl None
|
||||||
|
else
|
||||||
|
sleep 1
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! vimtex#echo#echo(message) " {{{1
|
function! vimtex#echo#echo(message) " {{{1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user