Minor bugfix in latexmk.vim

This commit is contained in:
Karl Yngve Lervåg 2015-03-08 19:47:22 +01:00
parent 8dd70a8178
commit c8dd192d16

View File

@ -427,7 +427,7 @@ function! s:log_contains_error(logfile) " {{{1
let lines = readfile(a:logfile)
let lines = filter(lines, 'v:val =~ ''^.*:\d\+: ''')
let lines = uniq(map(lines, 'matchstr(v:val, ''^.*\ze:\d\+:'')'))
let lines = map(lines, 'fnameescape(fnamemodify(v:val, '':p''))')
let lines = map(lines, 'fnamemodify(v:val, '':p'')')
let lines = filter(lines, 'filereadable(v:val)')
return len(lines) > 0
endfunction