- Fix latexmk compiling on Windows 7

- Change the formatting of the command string on Windows 7
This commit is contained in:
Tim Brosnan 2014-08-03 00:59:49 +01:00
parent 180b410f1a
commit 2fcd2283b9

View File

@ -273,10 +273,10 @@ function! s:latexmk_set_cmd(data) " {{{1
if g:latex_latexmk_callback && has('clientserver')
if has('win32')
let callback = 'vim --servername ""' . v:servername . '""'
\ . ' --remote-expr ""latex\#latexmk\#errors(0)""'
let cmd .= ' -e "$success_cmd .= ""' . callback . '"""'
\ . ' -e "$failure_cmd .= ""' . callback . '"""'
let callback = 'vim --servername ' . v:servername
\ . ' --remote-expr \"latex\#latexmk\#errors(0)\"'
let cmd .= ' -e "$success_cmd .= ''' . callback . '''"'
\ . ' -e "$failure_cmd .= ''' . callback . '''"'
else
let callback = 'vim --servername ' . v:servername
\ . ' --remote-expr \"latex\#latexmk\#errors(0)\"'