Add check for missing log file (addresses #13)
This commit is contained in:
parent
1fd425fd3e
commit
cf459d62e7
@ -116,6 +116,11 @@ function! latex#latexmk#errors()
|
|||||||
cclose
|
cclose
|
||||||
|
|
||||||
let log = g:latex#data[b:latex.id].log()
|
let log = g:latex#data[b:latex.id].log()
|
||||||
|
if empty(log)
|
||||||
|
echo "No log file found!"
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
if g:latex_latexmk_autojump
|
if g:latex_latexmk_autojump
|
||||||
execute 'cfile ' . log
|
execute 'cfile ' . log
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user