Merge pull request #102 from Konfekt/master
use v:progname instead of progpath because exists for all Vim version > 6
This commit is contained in:
commit
e4082bf27a
@ -339,7 +339,7 @@ function! s:latexmk_set_cmd(data) " {{{1
|
|||||||
if g:latex_latexmk_continuous
|
if g:latex_latexmk_continuous
|
||||||
let cmd .= ' -pvc'
|
let cmd .= ' -pvc'
|
||||||
if g:latex_latexmk_callback && has('clientserver')
|
if g:latex_latexmk_callback && has('clientserver')
|
||||||
let callback = v:progpath
|
let callback = v:progname
|
||||||
let callback .= ' --servername ' . v:servername
|
let callback .= ' --servername ' . v:servername
|
||||||
let callback .= ' --remote-expr \"latex\#latexmk\#errors(0)\"'
|
let callback .= ' --remote-expr \"latex\#latexmk\#errors(0)\"'
|
||||||
if has('win32')
|
if has('win32')
|
||||||
|
Loading…
Reference in New Issue
Block a user