diff options
| author | Sébastien Hoffmann <contact@shoffmann.dev> | 2026-09-26 15:27:46 +0200 |
|---|---|---|
| committer | Sébastien Hoffmann <contact@shoffmann.dev> | 2026-10-03 21:36:34 +0200 |
| commit | db7178679ab74a6abc977313168529630b295faf (patch) | |
| tree | 86d87b9a64db8c3eb9024f46d56a2627b12692c1 /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | 8969b46bf7e37a72466218af113377be942db0c1 (diff) | |
| download | rneovim-db7178679ab74a6abc977313168529630b295faf.tar.gz rneovim-db7178679ab74a6abc977313168529630b295faf.tar.bz2 rneovim-db7178679ab74a6abc977313168529630b295faf.zip | |
fix(highlight): link TabLine to base highlight group TabLineFill
Problem: the tabline's base highlight that all other highlights inherit
from is TabLineFill. Therefore, when only TabLine is customised, one
would expect TabLine to inherit unspecified colors/attributes from an
unchanged, default TabLineFill.
But, in the default theme, TabLine should look exactly like TabLineFill,
such that unselected tabs distinguish themselves from the background
only by virtue of containing text, which has been solved by linking
TabLineFill -> TabLine -> StatusLineNC
Therefore, customising TabLine automatically changes TabLineFill, which
it inherits from, and both look the same again.
Solution: break this circular dependency by linking
TabLine -> TabLineFill -> StatusLineNC
ref https://github.com/neovim/neovim/issues/41173
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions