commit 67192760409be55b9522dfa34d3c24aa22883a0d
parent b12b91c2743954dbe8599caa60e58e5d74aa4e76
Author: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Date: Wed, 8 Jan 2025 00:02:35 +0200
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`.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nvim/highlight_group.c b/src/nvim/highlight_group.c
@@ -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",