feat: add vim.g.rose_pine_colors.heading_prefix

This commit is contained in:
mvllow 2021-12-03 14:44:21 -06:00
commit 5329dbb5d0
3 changed files with 3 additions and 1 deletions

View file

@ -21,6 +21,7 @@ local config = {
-- ['function'] = '',
-- method = '',
heading_prefix = palette.subtle,
---@type string|table<string, string>
headings = {
h1 = palette.iris,

View file

@ -98,7 +98,7 @@ local theme = {
Constant = { fg = p.gold },
Debug = { fg = p.rose },
Define = { fg = p.iris },
Delimiter = { fg = p.rose },
Delimiter = { fg = config.colors.heading_prefix },
Error = { fg = p.love },
Exception = { fg = p.pine },
Float = { fg = p.gold },

View file

@ -88,6 +88,7 @@ vim.g.rose_pine_colors = {
info = p.foam,
warn = p.gold,
error = p.love,
heading_prefix = p.subtle
-- Or set all headings to one colour: `headings = p.text`
headings = {
h1 = p.iris,