Moved check for vimtex_latexmk_enabled to top of init script

This commit is contained in:
Victor Iversen 2015-11-18 22:04:26 +01:00
parent 07eaaa5e0b
commit 50059d60d8

View File

@ -25,10 +25,10 @@ endfunction
" }}}1
function! vimtex#latexmk#init_script() " {{{1
call s:check_system_compatibility()
if !g:vimtex_latexmk_enabled | return | endif
call s:check_system_compatibility()
" Ensure that all latexmk processes are stopped when a latex project is
" closed and when vim exits
if g:vimtex_latexmk_continuous