wrap some opt modules with function

not doing so will make those modules load by default which isnt good
This commit is contained in:
siduck 2023-02-19 07:19:01 +05:30
parent a2690a4b72
commit a6b9c0cae5
3 changed files with 35 additions and 25 deletions

View file

@ -19,7 +19,8 @@ M.lazy = function(install_path)
vim.fn.mkdir(vim.g.base46_cache, "p")
require("base46").load_all_highlights()
require("lazy").load { plugins = "nvim-treesitter" }
vim.cmd "silent! lua require('lazy').load { plugins = 'nvim-treesitter' }"
-- install binaries from mason.nvim & tsparsers on LazySync
vim.schedule(function()