fix: restrict variants that override &background

The other variant params are considered as if "auto"
This commit is contained in:
aileot 2025-03-31 12:54:47 +09:00
commit 0eeaa6f195

View file

@ -1184,7 +1184,7 @@ function M.colorscheme(variant)
if variant == "dawn" then
vim.o.background = "light"
else
elseif variant == "main" or variant == "moon" then
vim.o.background = "dark"
end