fix: set background=light if variant is "dawn"

This change might fix https://github.com/rose-pine/neovim/issues/321
This commit is contained in:
aileot 2025-03-30 22:46:09 +09:00
commit 4df0343120

View file

@ -1182,6 +1182,12 @@ function M.colorscheme(variant)
end
vim.g.colors_name = "rose-pine"
if variant == "dawn" then
vim.opt.background = "light"
else
vim.opt.background = "dark"
end
set_highlights()
end