mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: temporary colorscheme to use during install during startup
This commit is contained in:
parent
0ba218a065
commit
7ec65e4cd9
2 changed files with 15 additions and 2 deletions
|
@ -9,8 +9,13 @@ M.init_done = false
|
|||
|
||||
function M.setup()
|
||||
-- install missing plugins
|
||||
if Config.options.install_missing then
|
||||
if Config.options.install.missing then
|
||||
Util.track("install")
|
||||
for _, colorscheme in ipairs(Config.options.install.colorscheme) do
|
||||
if pcall(vim.cmd.colorscheme, colorscheme) then
|
||||
break
|
||||
end
|
||||
end
|
||||
for _, plugin in pairs(Config.plugins) do
|
||||
if not plugin._.installed then
|
||||
vim.cmd("do User LazyInstallPre")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue