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:
Karl Yngve Lervåg 2015-01-21 12:26:28 +01:00
commit e4082bf27a

View File

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