From b7800711215069079ad874a646172b7330bbec97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Wed, 19 Nov 2014 13:59:41 +0100 Subject: [PATCH] Fixed minor bug in latexmk clean --- autoload/latex/latexmk.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoload/latex/latexmk.vim b/autoload/latex/latexmk.vim index cc3d055..dc4fa05 100644 --- a/autoload/latex/latexmk.vim +++ b/autoload/latex/latexmk.vim @@ -86,12 +86,12 @@ function! latex#latexmk#clean(full) " {{{1 else let cmd = 'cd ' . shellescape(data.root) . '; ' endif + let cmd .= 'latexmk -outdir=' . g:latex_build_dir if a:full - let cmd .= 'latexmk -C ' + let cmd .= ' -C ' else - let cmd .= 'latexmk -c ' + let cmd .= ' -c ' endif - let cmd .= ' -outdir=' . g:latex_build_dir let cmd .= shellescape(data.base) let g:latex#data[b:latex.id].cmds.clean = cmd let exe = {