mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
fix: restrict variants that override &background
The other variant params are considered as if "auto"
This commit is contained in:
parent
6acda84123
commit
0eeaa6f195
1 changed files with 1 additions and 1 deletions
|
|
@ -1184,7 +1184,7 @@ function M.colorscheme(variant)
|
||||||
|
|
||||||
if variant == "dawn" then
|
if variant == "dawn" then
|
||||||
vim.o.background = "light"
|
vim.o.background = "light"
|
||||||
else
|
elseif variant == "main" or variant == "moon" then
|
||||||
vim.o.background = "dark"
|
vim.o.background = "dark"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue