mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
feat(nvim): switch to rose pine
Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
@@ -1,7 +1,22 @@
|
||||
return {
|
||||
{
|
||||
'rmehri01/onenord.nvim',
|
||||
opts = {},
|
||||
'rose-pine/neovim',
|
||||
name = 'rose-pine',
|
||||
opts = {
|
||||
dim_inactive_windows = false,
|
||||
extend_background_behind_borders = true,
|
||||
styles = {
|
||||
bold = true,
|
||||
italic = true,
|
||||
transparency = true,
|
||||
},
|
||||
enable = {
|
||||
terminal = true,
|
||||
legacy_highlights = true, -- Improve compatibility for previous versions of Neovim
|
||||
migrations = true, -- Handle deprecated options automatically
|
||||
},
|
||||
},
|
||||
config = function() vim.cmd 'colorscheme rose-pine' end,
|
||||
},
|
||||
-- Automatic dark mode
|
||||
-- https://github.com/f-person/auto-dark-mode.nvim
|
||||
@@ -12,10 +27,12 @@ return {
|
||||
set_dark_mode = function()
|
||||
vim.api.nvim_set_option_value('background', 'dark', {})
|
||||
-- vim.cmd.colorscheme(vim.g.colors_variant_dark)
|
||||
vim.cmd 'colorscheme rose-pine'
|
||||
end,
|
||||
set_light_mode = function()
|
||||
vim.api.nvim_set_option_value('background', 'light', {})
|
||||
-- vim.cmd.colorscheme(vim.g.colors_variant_light)
|
||||
vim.cmd 'colorscheme rose-pine-dawn'
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user