refactor: moved manage functionality to its own module

This commit is contained in:
Folke Lemaitre 2022-11-27 11:02:28 +01:00
parent 42c2fb42c8
commit 6dc45ada55
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
6 changed files with 22 additions and 24 deletions

View file

@ -29,7 +29,7 @@ function M.setup(opts)
for _, plugin in pairs(Config.plugins) do
if not plugin.installed then
vim.cmd("do User LazyInstallPre")
require("lazy.manager").install({
require("lazy.manage").install({
wait = true,
show = Config.options.interactive,
})