Minor tweak to latexmk#errors

This commit is contained in:
Karl Yngve Lervåg 2013-11-15 08:54:48 +01:00
parent d2cf008545
commit 96207acf4f

View File

@ -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