From 50059d60d8b426ad968991912f54bb76d4429c4b Mon Sep 17 00:00:00 2001 From: Victor Iversen Date: Wed, 18 Nov 2015 22:04:26 +0100 Subject: [PATCH] Moved check for vimtex_latexmk_enabled to top of init script --- autoload/vimtex/latexmk.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vimtex/latexmk.vim b/autoload/vimtex/latexmk.vim index 9db2c16..0591f0e 100644 --- a/autoload/vimtex/latexmk.vim +++ b/autoload/vimtex/latexmk.vim @@ -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