mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
fix: mismatched WinSeparator background (#208)
* fix: mismatched WinSeparator background * feat: use border group for bolded vert split * fix: Pmenu fg typo
This commit is contained in:
parent
29c6a52b02
commit
279b06d47a
2 changed files with 6 additions and 4 deletions
|
|
@ -62,7 +62,7 @@ local function set_highlights()
|
|||
PmenuKind = { fg = palette.foam, bg = groups.panel },
|
||||
PmenuKindSel = { fg = palette.subtle, bg = palette.overlay },
|
||||
PmenuSbar = { bg = groups.panel },
|
||||
PmenuSel = { fg = palette.title, bg = palette.overlay },
|
||||
PmenuSel = { fg = palette.text, bg = palette.overlay },
|
||||
PmenuThumb = { bg = palette.muted },
|
||||
Question = { fg = palette.gold },
|
||||
-- QuickFixLink = {},
|
||||
|
|
@ -86,13 +86,13 @@ local function set_highlights()
|
|||
TabLineFill = { bg = groups.panel },
|
||||
TabLineSel = { fg = palette.text, bg = palette.overlay, bold = styles.bold },
|
||||
Title = make_title(),
|
||||
VertSplit = make_border(),
|
||||
VertSplit = { fg = groups.border },
|
||||
Visual = { bg = palette.highlight_med },
|
||||
-- VisualNOS = {},
|
||||
WarningMsg = { fg = groups.warn, bold = styles.bold },
|
||||
-- Whitespace = {},
|
||||
WildMenu = { link = "IncSearch" },
|
||||
WinSeparator = make_border(),
|
||||
WinSeparator = { fg = groups.border },
|
||||
|
||||
DiagnosticError = { fg = groups.error },
|
||||
DiagnosticHint = { fg = groups.hint },
|
||||
|
|
|
|||
|
|
@ -98,7 +98,9 @@ config.options = {
|
|||
|
||||
local function migrate(options)
|
||||
if options.bold_vert_split then
|
||||
options.highlight_groups["VertSplit"] = { fg = "muted", bg = "muted" }
|
||||
local border = options.groups.border or "muted"
|
||||
options.highlight_groups["VertSplit"] = { fg = border, bg = border }
|
||||
options.highlight_groups["WinSeparator"] = { fg = border, bg = border }
|
||||
end
|
||||
|
||||
if options.disable_float_background then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue