diff options
author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2025-01-08 00:02:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-07 14:02:35 -0800 |
commit | 67192760409be55b9522dfa34d3c24aa22883a0d (patch) | |
tree | dabeb84735cae46ff449f3ab9161b97067207cd8 | |
parent | b12b91c2743954dbe8599caa60e58e5d74aa4e76 (diff) | |
download | rneovim-67192760409be55b9522dfa34d3c24aa22883a0d.tar.gz rneovim-67192760409be55b9522dfa34d3c24aa22883a0d.tar.bz2 rneovim-67192760409be55b9522dfa34d3c24aa22883a0d.zip |
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`.
-rw-r--r-- | src/nvim/highlight_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/highlight_group.c b/src/nvim/highlight_group.c index 6575113e2f..ad4b2732f6 100644 --- 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", |