We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ec65e4 commit ec858dbCopy full SHA for ec858db
lua/lazy/core/loader.lua
@@ -11,14 +11,13 @@ function M.setup()
11
-- install missing plugins
12
if Config.options.install.missing then
13
Util.track("install")
14
- for _, colorscheme in ipairs(Config.options.install.colorscheme) do
15
- if pcall(vim.cmd.colorscheme, colorscheme) then
16
- break
17
- end
18
19
for _, plugin in pairs(Config.plugins) do
20
if not plugin._.installed then
21
- vim.cmd("do User LazyInstallPre")
+ for _, colorscheme in ipairs(Config.options.install.colorscheme) do
+ if pcall(vim.cmd.colorscheme, colorscheme) then
+ break
+ end
22
require("lazy.manage").install({ wait = true })
23
break
24
end
0 commit comments