romgrk / barbar.nvim

The neovim tabline plugin.
2.16k stars 81 forks source link

Add highlight for the pin icon #539

Closed otavioschwanck closed 3 months ago

otavioschwanck commented 7 months ago

image

would be nice a way to change the color of pin (to increase visibility)

Iron-E commented 5 months ago

Seems like if we're adding highlights for the pin button, it would be good to add highlights for the other buttons too. I'll look into this.

Iron-E commented 5 months ago

@otavioschwanck give #543 a try

xuhui-github commented 4 months ago

i like this but my nvim does not show the pinned icon

Iron-E commented 4 months ago

i like this but my nvim does not show the pinned icon

By default they are not shown. This should do it:

require'barbar'.setup {
  icons = {
    pinned = {
      button = '<your icon>', 
      filename = true,
    },
  },
}

:h barbar-setup.icons.pinned has more info