nvim/lua/plugins/theme.lua

51 lines
1.0 KiB
Lua
Raw Normal View History

2022-12-31 17:43:31 +01:00
local M = {
'rose-pine/neovim',
2022-12-31 17:43:31 +01:00
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('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' },
},
2022-12-31 17:43:31 +01:00
}
end
return M