From b3b55833fe7023b9856bc2e99cd61d6eac72340a Mon Sep 17 00:00:00 2001 From: micbou Date: Mon, 2 Mar 2015 16:26:52 +0100 Subject: [PATCH] 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. --- autoload/latex/latexmk.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/latex/latexmk.vim b/autoload/latex/latexmk.vim index 6abe1d5..87f4c07 100644 --- a/autoload/latex/latexmk.vim +++ b/autoload/latex/latexmk.vim @@ -91,6 +91,8 @@ function! latex#latexmk#callback(status) " {{{1 if has_key(g:latex#data[b:latex.id].viewer, 'latexmk_callback') call g:latex#data[b:latex.id].viewer.latexmk_callback() endif + + return "" endfunction " }}}1