From 670a6fec7f9b03134849e308d87f4dc316875c46 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 23 Jan 2024 21:51:00 +0100 Subject: [PATCH] fix(manage): better support for using the default colorscheme during install. See #1277 --- lua/lazy/core/loader.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/lazy/core/loader.lua b/lua/lazy/core/loader.lua index 0dc9e9f..2d011dc 100644 --- a/lua/lazy/core/loader.lua +++ b/lua/lazy/core/loader.lua @@ -67,6 +67,9 @@ function M.install_missing() for _, plugin in pairs(Config.plugins) do if not (plugin._.installed or Plugin.has_errors(plugin)) then for _, colorscheme in ipairs(Config.options.install.colorscheme) do + if colorscheme == "default" then + break + end M.colorscheme(colorscheme) if vim.g.colors_name or pcall(vim.cmd.colorscheme, colorscheme) then break