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,
})
vim.o.background = 'light'
vim.cmd 'colorscheme gruvbox'
-- vim.o.background = 'dark'
vim.cmd 'colorscheme rose-pine'

View File

@ -1,26 +1,49 @@
local M = {
'ellisonleao/gruvbox.nvim',
'rose-pine/neovim',
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
}
function M.config()
require('gruvbox').setup {
undercurl = true,
underline = true,
bold = true,
italic = true,
strikethrough = true,
invert_selection = false,
invert_signs = false,
invert_tabline = false,
invert_intend_guides = false,
inverse = true, -- invert background for search, diffs, statuslines and errors
contrast = 'hard', -- can be "hard", "soft" or empty string
palette_overrides = {},
overrides = {},
dim_inactive = false,
transparent_mode = true,
require('rose-pine').setup {
--- @usage 'main' | 'moon'
dark_variant = 'moon',
bold_vert_split = false,
dim_nc_background = false,
disable_background = true,
disable_float_background = false,
disable_italics = false,
--- @usage string hex value or named color from rosepinetheme.com/palette
groups = {
background = 'base',
panel = 'surface',
border = 'highlight_med',
comment = 'muted',
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