always prioritise global variant setting

This commit is contained in:
mvllow 2021-08-20 11:37:20 -05:00
commit ce6f25e13b

View file

@ -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'