romgrk / barbar.nvim

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

How to disable the white color and separators at the beginning? #513

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hello!

When one active tab is open, everything is fine.

image

But when I open the nvim-tree (and the tab changes to the visible status), the background of the separators ([ ]) turns white.

image

When I open a lot of tabs, the separators appear at the beginning.

image image image

Here is my configuration:

require('barbar').setup{
  animation = false,
  icons = {
    separator = {left = '[', right = ']'},
  button = '',
  separator_at_end = false,
  },
}

vim.api.nvim_set_hl(0, 'BufferDefaultTabpageFill', {})
vim.api.nvim_set_hl(0, 'BufferDefaultVisible', {fg='#8f8f8f'})
vim.api.nvim_set_hl(0, 'BufferDefaultInactive', {fg='#8f8f8f'})

I also updated barbar.nvim to the latest version

My version of NeoVim: v. 0.9.0-dev

My terminal emulator: Windows Terminal, v. 1.18.1462.0

Iron-E commented 1 year ago

See https://github.com/romgrk/barbar.nvim#highlighting and https://github.com/romgrk/barbar.nvim/blob/master/doc/barbar.txt#L389