Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tabs): show unnamed buffers #613

Merged
merged 1 commit into from Nov 16, 2022
Merged

fix(tabs): show unnamed buffers #613

merged 1 commit into from Nov 16, 2022

Conversation

kaplanz
Copy link
Contributor

@kaplanz kaplanz commented Nov 11, 2022

In tabs mode, unnamed buffers do not have any name appear in the tabline. This is in contrast to buffers mode, where they appear as "No Name." It seems the infrastructure to do this was implemented, but it didn't work due to a logic error caused by the assumption that the empty string is treated as falsy in Lua.

Copy link
Owner

@akinsho akinsho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏿

lua/bufferline/tabpages.lua Show resolved Hide resolved
@akinsho akinsho merged commit 65465b4 into akinsho:main Nov 16, 2022
@kaplanz kaplanz deleted the patch-1 branch November 16, 2022 17:36
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.

None yet

2 participants