mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
always prioritise global variant setting
This commit is contained in:
parent
9eb7029ba7
commit
ce6f25e13b
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ function util.load()
|
|||
vim.o.termguicolors = true
|
||||
vim.g.colors_name = 'rose-pine'
|
||||
|
||||
if vim.o.background == 'light' then
|
||||
if vim.o.background == 'light' and vim.g.rose_pine_variant == nil then
|
||||
vim.g.rose_pine_variant = 'dawn'
|
||||
elseif
|
||||
vim.g.rose_pine_variant == 'dawn'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue