diff options
| author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2026-08-07 15:33:14 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-07 08:33:14 -0400 |
| commit | 87a8bbabcf7bb8b1c33de21df1529309697dd698 (patch) | |
| tree | a7770716ff0d6cca6617834d6c7d380abcc6dfa5 /runtime/plugin/python_setup.vim | |
| parent | 72907fe0f74e03ec6847e312baa2da5d83bc6c79 (diff) | |
| download | rneovim-87a8bbabcf7bb8b1c33de21df1529309697dd698.tar.gz rneovim-87a8bbabcf7bb8b1c33de21df1529309697dd698.tar.bz2 rneovim-87a8bbabcf7bb8b1c33de21df1529309697dd698.zip | |
fix(highlight): explicitly define `TabLineSel` bg/fg #41196
Problem: `TabLineSel` by default is defined with only bold attribute.
This makes selected tabpage stand out relatively well, but when used
in custom tabline it will be combined with `TabLineFill` (which is
reserved for the "non tabpage" part of the tabline).
Plus the behavior is not consistent with the default 'tabline' which
combines it with `Normal`.
Solution: Explicitly define background and foreground colors to come
from `Normal` to ensure the current default 'tabline' behavior even in
custom tabline.
The more semantically driven solution here is to link `TabLineSel` to
`StatusLine`. This makes it more aligned with how `TabLine` is linked
to `StatusLineNC`. But the current "bold text with `Normal` colors" is
argued to look better as a default.
Also make sure that 'notermguicolors' highlighting in default and
custom tablines is the same: the current tabpage does not have
underline and is not bold.
Diffstat (limited to 'runtime/plugin/python_setup.vim')
0 files changed, 0 insertions, 0 deletions