mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
feat: add vim.g.rose_pine_colors.heading_prefix
This commit is contained in:
parent
1ef3ca3806
commit
bebb579bcd
3 changed files with 3 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ local config = {
|
||||||
-- ['function'] = '',
|
-- ['function'] = '',
|
||||||
-- method = '',
|
-- method = '',
|
||||||
|
|
||||||
|
heading_prefix = palette.subtle,
|
||||||
---@type string|table<string, string>
|
---@type string|table<string, string>
|
||||||
headings = {
|
headings = {
|
||||||
h1 = palette.iris,
|
h1 = palette.iris,
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ local theme = {
|
||||||
Constant = { fg = p.gold },
|
Constant = { fg = p.gold },
|
||||||
Debug = { fg = p.rose },
|
Debug = { fg = p.rose },
|
||||||
Define = { fg = p.iris },
|
Define = { fg = p.iris },
|
||||||
Delimiter = { fg = p.rose },
|
Delimiter = { fg = config.colors.heading_prefix },
|
||||||
Error = { fg = p.love },
|
Error = { fg = p.love },
|
||||||
Exception = { fg = p.pine },
|
Exception = { fg = p.pine },
|
||||||
Float = { fg = p.gold },
|
Float = { fg = p.gold },
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,7 @@ vim.g.rose_pine_colors = {
|
||||||
info = p.foam,
|
info = p.foam,
|
||||||
warn = p.gold,
|
warn = p.gold,
|
||||||
error = p.love,
|
error = p.love,
|
||||||
|
heading_prefix = p.subtle
|
||||||
-- Or set all headings to one colour: `headings = p.text`
|
-- Or set all headings to one colour: `headings = p.text`
|
||||||
headings = {
|
headings = {
|
||||||
h1 = p.iris,
|
h1 = p.iris,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue