From afbbe297513100639806401a4b84e66f99897bc7 Mon Sep 17 00:00:00 2001 From: hollorol Date: Sat, 17 May 2025 12:20:01 +0200 Subject: [PATCH] latex support --- lua/config/plugins/latex.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lua/config/plugins/latex.lua diff --git a/lua/config/plugins/latex.lua b/lua/config/plugins/latex.lua new file mode 100644 index 0000000..dbe00b7 --- /dev/null +++ b/lua/config/plugins/latex.lua @@ -0,0 +1,19 @@ +return { + "lervag/vimtex", + lazy = false, -- we don't want to lazy load VimTeX + -- tag = "v2.15", -- uncomment to pin to a specific release + init = function() + vim.g.vimtex_view_method = "zathura" + + vim.g.vimtex_compiler_latexmk = { + options = { + "-pdf", + "-shell-escape", + "-verbose", + "-file-line-error", + "-synctex=1", + "-interaction=nonstopmode", + }, + } + end +}