bufferline.nvim icon indicating copy to clipboard operation
bufferline.nvim copied to clipboard

fix: respect tab count in `toggle_bufferline()`

Open TommyCox opened this issue 1 year ago • 1 comments

Adjusts toggle_bufferline() to respect the number of tabs by falling back to builtin tab-count-based toggling of the tabline when always_show_bufferline = false and NOT in tabpage-only mode. Fixes #925.

TommyCox avatar Jul 25 '24 02:07 TommyCox

@akinsho Just realized that the issue could be fixed by changing one character instead of rewriting multiple lines. The new commit just changes the fallback value from 0 (never show tabline) to 1 (show tabline when multiple tabpages exist).

TommyCox avatar Jul 25 '24 20:07 TommyCox