Open nkhlmn opened 2 years ago
Actually lualine is designed to be a status line plugin, not a tab line plugin, although it actually provides functional elements for tab line.
Until now, there are no sections to define tab line colors, the tab line colors are actually inherited from colors defined in status line theme, check /lua/lualine/themes/everforest.lua
.
After some debugging, I found that the tab line foreground colors are controlled by normal.c
and inactive.c
:
However normal.c
and inactive.c
are used to control the colors in normal mode and inactive mode in status line, which means that if we change them, not only the tab line theme but the status line theme will also be changed, which is not expected.
Due to the reason above, I'm not going to "fix" this issue because IMO this is not a bug will break the design of the status line.
If you want to have a nice tab line you should probably choose another tab line plugin.
As mentioned in the README of lualine:
If you want a more sophisticated tabline you can use other tabline plugins with lualine too, for example:
tabline.nvim even uses lualine's theme by default 🙌 You can find a bigger list here.
Thanks for the explanation. More than happy with what lualine provides so another plugin just to fix this issue is not necessary as your other (also excellent) themes look fine. I'll just use those instead. Really appreciate all the work you've put into them.
@sainnhe Seems like lualine developer realized this problem and added new highlight groups: lualine_a_tabs_active/inactive. Might be worth to give a look again.
Operating system/version
macOS 11.6.1
Terminal emulator/version
kitty 0.24.1
$TERM environment variable
xterm-kitty
Tmux version
No response
Feature matrix
Minimal vimrc that can reproduce this bug.
Lualine config i'm using is below.:
Colorscheme related config i'm using:
Let me know if you need more info.
Steps to reproduce this bug using minimal vimrc
Enable the theme, use the lualine config above and open multiple buffers
Expected behavior
The current buffer should have a distinct styling to differentiate from the inactive buffers. This works as expected in gruvbox-material (see screenshot )
Actual behavior
Styling is the same for current/inactive buffers (see screenshot)