fix(highlight): make TablineSel more noticeable with 'notermguicolors' #31905

Problem: Linking `TablineSel` to `Normal` makes it more noticeable with
`notermguicolors` but less so with `termguicolors` (compared to using
bold text in both cases).

Solution: use bold text with `termguicolors` and regular with
`notermguicolors`.
This commit is contained in:
Evgeni Chasnovski
2025-01-08 00:02:35 +02:00
committed by GitHub
parent b12b91c274
commit 6719276040

View File

@ -150,6 +150,7 @@ static const char *highlight_init_both[] = {
"PmenuMatchSel gui=bold cterm=bold",
"PmenuSel gui=reverse cterm=reverse,underline blend=0",
"RedrawDebugNormal gui=reverse cterm=reverse",
"TabLineSel gui=bold cterm=NONE",
"TermCursor gui=reverse cterm=reverse",
"Underlined gui=underline cterm=underline",
"lCursor guifg=bg guibg=fg",
@ -180,7 +181,6 @@ static const char *highlight_init_both[] = {
"default link StatusLineTermNC StatusLineNC",
"default link TabLine StatusLineNC",
"default link TabLineFill TabLine",
"default link TabLineSel Normal",
"default link VertSplit WinSeparator",
"default link VisualNOS Visual",
"default link Whitespace NonText",