Fixes #212. Fix pdflatex substitution to work with Latexmk's 'internal' keyword
This commit is contained in:
parent
47ac958f76
commit
95e30c706b
@ -384,7 +384,7 @@ function! s:latexmk_build_cmd() " {{{1
|
||||
|
||||
let cmd .= ' ' . g:vimtex_latexmk_options
|
||||
let cmd .= ' -e ' . vimtex#util#shellescape(
|
||||
\ '$pdflatex =~ s/ / -file-line-error /')
|
||||
\ '$pdflatex =~ s/^((.(?<!^internal(?=\s)))*?) /$1 -file-line-error /')
|
||||
if g:vimtex_latexmk_build_dir !=# ''
|
||||
let cmd .= ' -outdir=' . g:vimtex_latexmk_build_dir
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user