From 113f73100d4bd4a271df81459dfa8a3d88cc257c Mon Sep 17 00:00:00 2001 From: Sv7n Date: Mon, 5 Jul 2021 23:39:01 +0100 Subject: Cleaner way to load vimtex config thanks to rebuilt. --- lua/plugins.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 2b215291..aadca5d6 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -432,8 +432,7 @@ return require("packer").startup(function(use) } -- LANGUAGE SPECIFIC GOES HERE - - use { "lervag/vimtex", ft = "tex" } + use { "lervag/vimtex", ft = "tex", config = function() require("lv-vimtex") end } -- Rust tools -- TODO: use lazy loading maybe? -- cgit v1.2.3