Return an empty string in callback function
By returning an empty string in latex#latexmk#callback function, gvim does not open an error window with value "0" after each compilation.
This commit is contained in:
parent
423f240810
commit
b3b55833fe
@ -91,6 +91,8 @@ function! latex#latexmk#callback(status) " {{{1
|
|||||||
if has_key(g:latex#data[b:latex.id].viewer, 'latexmk_callback')
|
if has_key(g:latex#data[b:latex.id].viewer, 'latexmk_callback')
|
||||||
call g:latex#data[b:latex.id].viewer.latexmk_callback()
|
call g:latex#data[b:latex.id].viewer.latexmk_callback()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
return ""
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user