diff --git a/lua/custom/plugins/vimtex.lua b/lua/custom/plugins/vimtex.lua index a4a5e61c..2d5b1358 100644 --- a/lua/custom/plugins/vimtex.lua +++ b/lua/custom/plugins/vimtex.lua @@ -1,6 +1,17 @@ return { 'lervag/vimtex', lazy = false, + config = function() + vim.g.vimtex_compiler_latexmk = { + options = { + '-shell-escape', + '-verbose', + '-file-line-error', + '-synctex=1', + '-interaction=nonstopmode', + }, + } + end, init = function() vim.g.vimtex_view_general_viewer = 'C:/Users/ricar/AppData/Local/SumatraPDF/SumatraPDF.exe' vim.g.vimtex_view_general_options = '-reuse-instance -forward-search @tex @line @pdf'