Important update: pdf is now mandatory
Also adds verbose to flags to increase debug output when needed.
This commit is contained in:
parent
1013889530
commit
87946f96b4
@ -12,7 +12,7 @@ function! vimtex#latexmk#init_options() " {{{1
|
|||||||
call vimtex#util#set_default('g:vimtex_latexmk_background', 0)
|
call vimtex#util#set_default('g:vimtex_latexmk_background', 0)
|
||||||
call vimtex#util#set_default('g:vimtex_latexmk_callback', 1)
|
call vimtex#util#set_default('g:vimtex_latexmk_callback', 1)
|
||||||
call vimtex#util#set_default('g:vimtex_latexmk_continuous', 1)
|
call vimtex#util#set_default('g:vimtex_latexmk_continuous', 1)
|
||||||
call vimtex#util#set_default('g:vimtex_latexmk_options', '-pdf')
|
call vimtex#util#set_default('g:vimtex_latexmk_options', '')
|
||||||
call vimtex#util#set_default('g:vimtex_latexmk_progname',
|
call vimtex#util#set_default('g:vimtex_latexmk_progname',
|
||||||
\ get(v:, 'progpath', get(v:, 'progname')))
|
\ get(v:, 'progpath', get(v:, 'progname')))
|
||||||
call vimtex#util#set_default('g:vimtex_quickfix_autojump', '0')
|
call vimtex#util#set_default('g:vimtex_quickfix_autojump', '0')
|
||||||
@ -382,7 +382,7 @@ function! s:latexmk_build_cmd() " {{{1
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let cmd .= ' ' . g:vimtex_latexmk_options
|
let cmd .= ' -verbose -pdf ' . g:vimtex_latexmk_options
|
||||||
let cmd .= ' -e ' . vimtex#util#shellescape(
|
let cmd .= ' -e ' . vimtex#util#shellescape(
|
||||||
\ '$pdflatex =~ s/^((.(?<!^internal(?=\s)))*?) /$1 -file-line-error /')
|
\ '$pdflatex =~ s/^((.(?<!^internal(?=\s)))*?) /$1 -file-line-error /')
|
||||||
if g:vimtex_latexmk_build_dir !=# ''
|
if g:vimtex_latexmk_build_dir !=# ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user