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:
Konfekt 2015-01-21 10:04:42 +01:00
parent 7b9c3b8f7c
commit 4eaa5a287d

View File

@ -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')