Better handle warning wait for new files (#494)

This commit is contained in:
Karl Yngve Lervåg 2016-07-20 20:29:42 +02:00
parent a988d49e42
commit 47dca26d93

View File

@ -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