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
|
||||
if g:vimtex_echo_ignore_wait | return | endif
|
||||
|
||||
if filereadable(expand('%'))
|
||||
echohl VimtexMsg
|
||||
call input('Press any key to continue ...')
|
||||
echohl None
|
||||
else
|
||||
sleep 1
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! vimtex#echo#echo(message) " {{{1
|
||||
|
Loading…
Reference in New Issue
Block a user