Don't redraw before message!
This commit is contained in:
parent
4c4597b618
commit
c2e0c41dfd
@ -77,7 +77,10 @@ endfunction
|
||||
" }}}1
|
||||
function! vimtex#latexmk#callback(status) " {{{1
|
||||
call vimtex#latexmk#errors_open(0)
|
||||
redraw!
|
||||
|
||||
if has_key(g:vimtex#data[b:vimtex.id].viewer, 'latexmk_callback')
|
||||
call g:vimtex#data[b:vimtex.id].viewer.latexmk_callback()
|
||||
endif
|
||||
|
||||
echohl ModeMsg
|
||||
echon "latexmk compile: "
|
||||
@ -90,10 +93,6 @@ function! vimtex#latexmk#callback(status) " {{{1
|
||||
endif
|
||||
echohl None
|
||||
|
||||
if has_key(g:vimtex#data[b:vimtex.id].viewer, 'latexmk_callback')
|
||||
call g:vimtex#data[b:vimtex.id].viewer.latexmk_callback()
|
||||
endif
|
||||
|
||||
return ""
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user