mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
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:
parent
7d1b5c7dcd
commit
4df0343120
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue