From c48062ff4a095c6113c4706f8a4d61c7378e6f60 Mon Sep 17 00:00:00 2001 From: Spencer Michaels Date: Mon, 13 Apr 2015 20:51:15 -0700 Subject: [PATCH] Add a space after the '-c' flag in latexmk#clean. Previously the lack of a space after '-c' would cause VimtexClean to silently fail when not performing a full clean. --- autoload/vimtex/latexmk.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vimtex/latexmk.vim b/autoload/vimtex/latexmk.vim index 12a7381..1abbbc8 100644 --- a/autoload/vimtex/latexmk.vim +++ b/autoload/vimtex/latexmk.vim @@ -108,7 +108,7 @@ function! vimtex#latexmk#clean(full) " {{{1 let cmd = 'cd ' . shellescape(data.root) . '; ' endif let cmd .= 'latexmk -outdir=' . g:vimtex_latexmk_build_dir - let cmd .= a:full ? ' -C ' : ' -c' + let cmd .= a:full ? ' -C ' : ' -c ' let cmd .= vimtex#util#fnameescape(data.base) let exe = { \ 'cmd' : cmd,