diff --git a/autoload/latex/latexmk.vim b/autoload/latex/latexmk.vim index e508f8a..42c9924 100644 --- a/autoload/latex/latexmk.vim +++ b/autoload/latex/latexmk.vim @@ -107,17 +107,16 @@ endfunction " {{{1 latex#latexmk#errors function! latex#latexmk#errors() - let log = g:latex#data[b:latex.id].log() - cclose + let log = g:latex#data[b:latex.id].log() if g:latex_latexmk_autojump execute 'cfile ' . log else execute 'cgetfile ' . log endif - botright copen + botright cwindow endfunction " {{{1 latex#latexmk#status