From 2fcd2283b906f9332002f1ac9b155f1ddb0e35be Mon Sep 17 00:00:00 2001 From: Tim Brosnan Date: Sun, 3 Aug 2014 00:59:49 +0100 Subject: [PATCH] - Fix latexmk compiling on Windows 7 - Change the formatting of the command string on Windows 7 --- autoload/latex/latexmk.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autoload/latex/latexmk.vim b/autoload/latex/latexmk.vim index 1b542ca..992f03a 100644 --- a/autoload/latex/latexmk.vim +++ b/autoload/latex/latexmk.vim @@ -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)\"'