From f8c41be09f4a3fa5f55200c43c49a24cb8ff05fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Fri, 20 Mar 2015 21:35:56 +0100 Subject: [PATCH] build_dir option must be accessible (fixes #135) --- 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 d53a050..50cbcd8 100644 --- a/autoload/vimtex/latexmk.vim +++ b/autoload/vimtex/latexmk.vim @@ -6,12 +6,12 @@ function! vimtex#latexmk#init(initialized) " {{{1 call vimtex#util#set_default('g:vimtex_latexmk_enabled', 1) + call vimtex#util#set_default('g:vimtex_latexmk_build_dir', '.') if !g:vimtex_latexmk_enabled | return | endif if s:system_incompatible() | return | endif " Set default options call vimtex#util#set_default('g:vimtex_latexmk_background', 0) - call vimtex#util#set_default('g:vimtex_latexmk_build_dir', '.') call vimtex#util#set_default('g:vimtex_latexmk_callback', 1) call vimtex#util#set_default('g:vimtex_latexmk_continuous', 1) call vimtex#util#set_default('g:vimtex_latexmk_options', '-pdf')