add alt variant syntax

This commit is contained in:
mvllow 2021-07-31 19:46:26 -05:00
commit 6ec2d7208e

View file

@ -29,10 +29,13 @@ function util.load()
if vim.fn.exists('syntax_on') then if vim.fn.exists('syntax_on') then
vim.cmd('syntax reset') vim.cmd('syntax reset')
end end
if vim.g.rose_pine_variant == 'dawn' then if
vim.o.background = 'light' vim.g.rose_pine_variant == 'dawn'
or vim.g.rose_pine_variant == 'rose-pine-dawn'
then
vim.opt.background = 'light'
else else
vim.o.background = 'dark' vim.opt.background = 'dark'
end end
vim.o.termguicolors = true vim.o.termguicolors = true
vim.g.colors_name = 'rose-pine' vim.g.colors_name = 'rose-pine'