build_dir option must be accessible (fixes #135)

This commit is contained in:
Karl Yngve Lervåg 2015-03-20 21:35:56 +01:00
parent 3d98484a8f
commit f8c41be09f

View File

@ -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')