mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
fix: allow partial overrides for nested groups
This commit is contained in:
parent
b547d92b88
commit
7b5ba94aa9
1 changed files with 7 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ local groups = {
|
||||||
info = user_colors.info or p.foam,
|
info = user_colors.info or p.foam,
|
||||||
warn = user_colors.warn or p.gold,
|
warn = user_colors.warn or p.gold,
|
||||||
error = user_colors.error or p.love,
|
error = user_colors.error or p.love,
|
||||||
headings = user_colors.headings or {
|
headings = {
|
||||||
h1 = p.love,
|
h1 = p.love,
|
||||||
h2 = p.rose,
|
h2 = p.rose,
|
||||||
h3 = p.iris,
|
h3 = p.iris,
|
||||||
|
|
@ -17,6 +17,12 @@ local groups = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
groups.headings = vim.tbl_extend(
|
||||||
|
'force',
|
||||||
|
groups.headings,
|
||||||
|
user_colors.headings or {}
|
||||||
|
)
|
||||||
|
|
||||||
local theme = {}
|
local theme = {}
|
||||||
local maybe_base = p.base
|
local maybe_base = p.base
|
||||||
local maybe_italic = 'italic'
|
local maybe_italic = 'italic'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue