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
|
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'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue