vimtex
vimtex copied to clipboard
Settings env variable for compiler
Is your feature request related to a problem? Please describe it.
I compile my documents with TEXINPUTS=.:${PWD}/../Commons//:${TEXINPUTS} pdflatex main.tex
and it works. I don't find how to set this environment variable when using vimtex
I tried to export the variable before launching vim and this doesn't have effect.
Describe the solution you'd like
I would like a variable (something like g:vimtex_compiler_latexmk['env']
that would be put as env variable before executing the compilation
Describe alternatives you've considered I don't really know why it doesn't work but maybe the TEXINPUTS should be passed trought ?