diff options
author | Sv7n <[email protected]> | 2021-07-05 23:39:01 +0100 |
---|---|---|
committer | Sv7n <[email protected]> | 2021-07-05 23:39:01 +0100 |
commit | 113f73100d4bd4a271df81459dfa8a3d88cc257c (patch) | |
tree | 86258083bc9a6396cfd68b35ef0f6b603a4f62e8 | |
parent | 5b497747448b3946675f7361c9667bb0dc1da11a (diff) |
Cleaner way to load vimtex config thanks to rebuilt.
-rw-r--r-- | init.lua | 1 | ||||
-rw-r--r-- | lua/plugins.lua | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -4,7 +4,6 @@ vim.cmd("luafile " .. CONFIG_PATH .. "/lv-config.lua") require "settings" require "plugins" require "lv-utils" -require "lv-vimtex" require "lv-galaxyline" require "lv-treesitter" require "lv-which-key" 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? |