feature: back to black, use rose-piné colorscheme

This commit is contained in:
fiplox 2023-02-06 09:58:08 +01:00
parent c1466e9137
commit e9664ee278
2 changed files with 42 additions and 19 deletions

View File

@ -22,5 +22,5 @@ vim.api.nvim_create_autocmd('User', {
end, end,
}) })
vim.o.background = 'light' -- vim.o.background = 'dark'
vim.cmd 'colorscheme gruvbox' vim.cmd 'colorscheme rose-pine'

View File

@ -1,26 +1,49 @@
local M = { local M = {
'ellisonleao/gruvbox.nvim', 'rose-pine/neovim',
lazy = true, -- make sure we load this during startup if it is your main colorscheme lazy = true, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins priority = 1000, -- make sure to load this before all the other start plugins
} }
function M.config() function M.config()
require('gruvbox').setup { require('rose-pine').setup {
undercurl = true, --- @usage 'main' | 'moon'
underline = true, dark_variant = 'moon',
bold = true, bold_vert_split = false,
italic = true, dim_nc_background = false,
strikethrough = true, disable_background = true,
invert_selection = false, disable_float_background = false,
invert_signs = false, disable_italics = false,
invert_tabline = false,
invert_intend_guides = false, --- @usage string hex value or named color from rosepinetheme.com/palette
inverse = true, -- invert background for search, diffs, statuslines and errors groups = {
contrast = 'hard', -- can be "hard", "soft" or empty string background = 'base',
palette_overrides = {}, panel = 'surface',
overrides = {}, border = 'highlight_med',
dim_inactive = false, comment = 'muted',
transparent_mode = true, link = 'iris',
punctuation = 'subtle',
error = 'love',
hint = 'iris',
info = 'foam',
warn = 'gold',
headings = {
h1 = 'iris',
h2 = 'foam',
h3 = 'rose',
h4 = 'gold',
h5 = 'pine',
h6 = 'foam',
},
-- or set all headings at once
-- headings = 'subtle'
},
-- Change specific vim highlight groups
highlight_groups = {
ColorColumn = { bg = 'rose' },
},
} }
end end