romgrk / barbar.nvim

The neovim tabline plugin.
2.3k stars 85 forks source link

[Question] Is highlight group changes only applicable for vim GUIs? #205

Closed sakkas-zendesk closed 2 years ago

sakkas-zendesk commented 2 years ago

I've been providing different ctermfg and ctermbg values for highlight groups and observed that it does not update the tabs I have in Vim. Then saw this part https://github.com/romgrk/barbar.nvim/blob/master/autoload/bufferline/highlight.vim#L108

Does this mean it will work only with GUI versions of vim?

What I'm trying to do:

Current setup: iTerm2 nvim 0.5.1 Proably not related but I have this plugin altercation/vim-colors-solarized for solarized dark theme.

If I disable Barbar, I can see tab colors change for TabLine* highlight groups.

I will close the issue if I misunderstood the configuration options for the highlighter.

romgrk commented 2 years ago

Barbar only uses termguicolors. "GUI" colors are just what (terminal) truecolor is called in neovim, so it's not only for GUIs.