mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
add alt variant syntax
This commit is contained in:
parent
b4232a59be
commit
6ec2d7208e
1 changed files with 6 additions and 3 deletions
|
|
@ -29,10 +29,13 @@ function util.load()
|
|||
if vim.fn.exists('syntax_on') then
|
||||
vim.cmd('syntax reset')
|
||||
end
|
||||
if vim.g.rose_pine_variant == 'dawn' then
|
||||
vim.o.background = 'light'
|
||||
if
|
||||
vim.g.rose_pine_variant == 'dawn'
|
||||
or vim.g.rose_pine_variant == 'rose-pine-dawn'
|
||||
then
|
||||
vim.opt.background = 'light'
|
||||
else
|
||||
vim.o.background = 'dark'
|
||||
vim.opt.background = 'dark'
|
||||
end
|
||||
vim.o.termguicolors = true
|
||||
vim.g.colors_name = 'rose-pine'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue