diff options
Diffstat (limited to '')
-rw-r--r-- | ftplugin/latex-box/latexmk.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/latex-box/latexmk.vim b/ftplugin/latex-box/latexmk.vim index 4ea3ff09..0049146a 100644 --- a/ftplugin/latex-box/latexmk.vim +++ b/ftplugin/latex-box/latexmk.vim @@ -5,6 +5,9 @@ if !exists('g:LatexBox_latexmk_options') let g:LatexBox_latexmk_options = '' endif +if !exists('g:LatexBox_latexmk_env') + let g:LatexBox_latexmk_env = '' +endif if !exists('g:LatexBox_latexmk_async') let g:LatexBox_latexmk_async = 0 endif @@ -156,6 +159,9 @@ function! LatexBox_Latexmk(force) let env = 'max_print_line=' . max_print_line endif + " Set environment options + let env .= ' ' . g:LatexBox_latexmk_env . ' ' + " Set latexmk command with options if has('win32') " Make sure to switch drive as well as directory |