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(bar): Escape percent signs in symbol_t component names #128

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

pynappo
Copy link
Contributor

@pynappo pynappo commented Jan 17, 2024

Dropbar doesn't currently escape percent signs in component names which can lead to incorrect names when rendered in the winbar:

For example, after :e \%asdf (top is dropbar, bottom is default statusline).

image

Escaping the percent signs before highlighting components seems to fix this:

image

@Bekaboo Bekaboo merged commit b1b5979 into Bekaboo:master Jan 17, 2024
4 checks passed
@Bekaboo
Copy link
Owner

Bekaboo commented Jan 17, 2024

Thanks for the fix!

Bekaboo pushed a commit that referenced this pull request Jan 17, 2024
@pynappo pynappo deleted the escape-percent-signs branch January 17, 2024 18:39
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