romgrk / barbar.nvim

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

Customizable `auto_hide` count #529

Closed Iron-E closed 9 months ago

Iron-E commented 10 months ago

Closes #528

Users can now specify how many buffers they would like to tolerate before showing the tabline, e.g. auto_hide = 0 for hiding the tabline when there are zero buffers left.

The old values, false and true, have been translated into -1 and 1 respectively. This is not a breaking change— it happens silently during setup.