" If the format cannot be determined, use this. let g:tex_flavor = 'latex' let g:vimtex_view_method = 'zathura' let g:vimtex_compiler_latexmk = { \ 'executable' : 'latexmk', \ 'options' : [ \ '-xelatex', \ '-file-line-error', \ '-synctex=1', \ '-interaction=nonstopmode', \ ], \} "let g:vimtex_compiler_latexmk = { " \ 'backend' : 'nvim', " \ 'background' : 1, " \ 'build_dir' : '', " \ 'callback' : 1, " \ 'continuous' : 1, " \ 'executable' : 'latexmk', " \ 'hooks' : [], " \ 'options' : [ " \ '-xelatex', " \ '-verbose', " \ '-file-line-error', " \ '-synctex=1', " \ '-interaction=nonstopmode', " \ ], " \} "let g:vimtex_compiler_latexmk_engines = { " \ '_' : '-xelatex', " \}