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'