diff --git a/nvim/pluginoptions.vim b/nvim/pluginoptions.vim index f14726f..4b4d9d0 100644 --- a/nvim/pluginoptions.vim +++ b/nvim/pluginoptions.vim @@ -51,8 +51,25 @@ let g:vimwiki_list = [{'path': '~/.wiki/'}] " VIMTEX SETUP " ========================= -let g:vimtex_compile_progname = 'nvr' +let g:vimtex_compiler_engine = 'lualatex' +let g:vimtex_quickfix_mode = 0 let g:tex_flavor = 'latex' +let g:vimtex_compiler_method = 'latexmk' +let g:vimtex_compiler_latexmk = { + \ 'backend' : 'nvim', + \ 'background' : 1, + \ 'build_dir' : '', + \ 'callback' : 1, + \ 'continuous' : 1, + \ 'executable' : 'latexmk', + \ 'hooks' : [], + \ 'options' : [ + \ '-pdflatex=lualatex', + \ '-file-line-error', + \ '-synctex=1', + \ '-interaction=nonstopmode', + \ ], + \} " COLORS.LUA SETUP " =========================