feat: add barbar.nvim highlight groups; fix: flatten TabLineFill/TabLineSel bg to match Normal

This commit is contained in:
2026-04-15 16:23:27 -07:00
parent c9851bc173
commit 01dd5703fa
+39 -2
View File
@@ -229,8 +229,8 @@ local function get_groups()
NormalNC = config.dim_inactive and { fg = colors.foreground_1, bg = colors.background_1 } or { link = "Normal" },
CursorLine = { bg = colors.background_1 },
CursorColumn = { link = "CursorLine" },
TabLineFill = { fg = colors.background_4, bg = colors.background_1, reverse = config.invert_tabline },
TabLineSel = { fg = colors.green, bg = colors.background_1, reverse = config.invert_tabline },
TabLineFill = { fg = colors.background_4, bg = colors.background, reverse = config.invert_tabline },
TabLineSel = { fg = colors.green, bg = colors.background, reverse = config.invert_tabline },
TabLine = { link = "TabLineFill" },
MatchParen = { bg = colors.background_3, bold = config.bold },
ColorColumn = { bg = colors.background_1 },
@@ -343,6 +343,43 @@ local function get_groups()
GitSignsAdd = { fg = colors.green },
GitSignsChange = { fg = colors.orange },
GitSignsDelete = { fg = colors.red },
-- barbar.nvim
BufferCurrent = { fg = colors.foreground, bg = colors.background, bold = true },
BufferCurrentIndex = { fg = colors.yellow, bg = colors.background, bold = true },
BufferCurrentMod = { fg = colors.orange, bg = colors.background },
BufferCurrentSign = { fg = colors.yellow, bg = colors.background },
BufferCurrentIcon = { fg = colors.aqua, bg = colors.background },
BufferCurrentTarget = { fg = colors.red, bg = colors.background, bold = true },
BufferCurrentADDED = { fg = colors.green, bg = colors.background },
BufferCurrentCHANGED = { fg = colors.orange, bg = colors.background },
BufferCurrentDELETED = { fg = colors.red, bg = colors.background },
BufferVisible = { fg = colors.foreground_2, bg = colors.background },
BufferVisibleIndex = { fg = colors.foreground_3, bg = colors.background },
BufferVisibleMod = { fg = colors.orange, bg = colors.background },
BufferVisibleSign = { fg = colors.foreground_3, bg = colors.background },
BufferVisibleIcon = { fg = colors.foreground_2, bg = colors.background },
BufferVisibleTarget = { fg = colors.red, bg = colors.background, bold = true },
BufferInactive = { fg = colors.foreground_4, bg = colors.background },
BufferInactiveIndex = { fg = colors.foreground_4, bg = colors.background },
BufferInactiveMod = { fg = colors.orange, bg = colors.background },
BufferInactiveSign = { fg = colors.foreground_4, bg = colors.background },
BufferInactiveIcon = { fg = colors.foreground_4, bg = colors.background },
BufferInactiveTarget = { fg = colors.red, bg = colors.background, bold = true },
BufferInactiveADDED = { fg = colors.green, bg = colors.background },
BufferInactiveCHANGED = { fg = colors.orange, bg = colors.background },
BufferInactiveDELETED = { fg = colors.red, bg = colors.background },
BufferTabpages = { fg = colors.yellow, bg = colors.background, bold = true },
BufferTabpageFill = { fg = colors.foreground_4, bg = colors.background },
BufferOffset = { fg = colors.foreground_3, bg = colors.background },
BufferAlternate = { fg = colors.foreground_2, bg = colors.background },
BufferAlternateSign = { fg = colors.foreground_3, bg = colors.background },
BufferAlternateIndex = { fg = colors.foreground_3, bg = colors.background },
BufferAlternateIcon = { fg = colors.foreground_2, bg = colors.background },
BufferAlternateMod = { fg = colors.orange, bg = colors.background },
NvimTreeSymlink = { fg = colors.neutral_aqua },
NvimTreeRootFolder = { fg = colors.neutral_purple, bold = true },
NvimTreeFolderIcon = { fg = colors.neutral_blue, bold = true },