Don't sleep unless necessary
This commit is contained in:
parent
3675cbc7a9
commit
cc068c30c5
@ -415,10 +415,11 @@ endfunction
|
|||||||
" }}}2
|
" }}}2
|
||||||
function! s:zathura.latexmk_callback(status) dict " {{{2
|
function! s:zathura.latexmk_callback(status) dict " {{{2
|
||||||
if !a:status | return | endif
|
if !a:status | return | endif
|
||||||
sleep 500m
|
|
||||||
|
|
||||||
if g:vimtex_view_use_temp_files
|
if g:vimtex_view_use_temp_files
|
||||||
call self.copy_files()
|
call self.copy_files()
|
||||||
|
else
|
||||||
|
sleep 500m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !self.xwin_exists()
|
if !self.xwin_exists()
|
||||||
|
Loading…
Reference in New Issue
Block a user