Skip to content

Conversation

@TommyCox
Copy link

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.

Change `toggle_bufferline()` fallback value for `vim.o.showtabline` from
0 (always hide tabline) to 1 (show tabline if multiple tabpages exist).
This should fix akinsho#925.
@TommyCox
Copy link
Author

@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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Tabline hidden by interaction with scope.nvim

1 participant