use v:progname instead of progpath because exists for all Vim Versions > 6
Closes https://github.com/lervag/vim-latex/issues/101
This commit is contained in:
parent
7b9c3b8f7c
commit
4eaa5a287d
@ -339,7 +339,7 @@ function! s:latexmk_set_cmd(data) " {{{1
|
||||
if g:latex_latexmk_continuous
|
||||
let cmd .= ' -pvc'
|
||||
if g:latex_latexmk_callback && has('clientserver')
|
||||
let callback = v:progpath
|
||||
let callback = v:progname
|
||||
let callback .= ' --servername ' . v:servername
|
||||
let callback .= ' --remote-expr \"latex\#latexmk\#errors(0)\"'
|
||||
if has('win32')
|
||||
|
Loading…
x
Reference in New Issue
Block a user