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(buffers,tabs): calculation of separator length #1135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

potamides
Copy link

When lualine calculates the length of a buffer or tab in the buffers and tabs components, it also adds the length of the surrounding separators. This pull request fixes a problem which occurs when these separators have surrounding special symbols which do not get printed. So far, lualine counts them as normal printable characters, leading to a wrong overall length.

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

1 participant