From 3e91fb8387061f5f4ce70abcfc7b33bbddb84cf7 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Fri, 14 Oct 2022 21:11:08 +0100 Subject: [PATCH] Added vimtex config --- .config/nvim/lua/custom/plugins/init.lua | 6 +++++- .config/nvim/lua/custom/plugins/vimtex.lua | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .config/nvim/lua/custom/plugins/vimtex.lua diff --git a/.config/nvim/lua/custom/plugins/init.lua b/.config/nvim/lua/custom/plugins/init.lua index 4ab4be9..c1ae847 100644 --- a/.config/nvim/lua/custom/plugins/init.lua +++ b/.config/nvim/lua/custom/plugins/init.lua @@ -1,5 +1,9 @@ return { - ["lervag/vimtex"]= {}, + ["lervag/vimtex"]= { + config = function () + require "custom.plugins.vimtex" + end + }, ["L3MON4D3/LuaSnip"] = { config = function() diff --git a/.config/nvim/lua/custom/plugins/vimtex.lua b/.config/nvim/lua/custom/plugins/vimtex.lua new file mode 100644 index 0000000..f442435 --- /dev/null +++ b/.config/nvim/lua/custom/plugins/vimtex.lua @@ -0,0 +1,3 @@ +vim.g.vimtex_view_method = 'zathura' + +vim.g.vimtex_compiler_methor = 'latexmk'