romgrk / barbar.nvim

The neovim tabline plugin.
2.23k stars 83 forks source link

Automatically set up filetree support #391

Closed Iron-E closed 1 year ago

Iron-E commented 1 year ago

We have the filetree snippet in the README, but it might go out of sync with what is in a user's init file. To fix that we can do:

require'bufferline'.setup {
  offset_filetypes = {'NvimTree', 'neo-tree', …},
}

The default should probably be {}, since users might already have the filetree snippet in their init file. If they have packer or lazy, they'll be notified that this feature is released and can migrate if they choose. Otherwise, if the default is {'NvimTree', 'neo-tree', …} it could cause issues with an existing configuration.