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

Add space at the end of blame virtual text #746

Merged
merged 1 commit into from
Feb 15, 2023
Merged

Add space at the end of blame virtual text #746

merged 1 commit into from
Feb 15, 2023

Conversation

WhyNotHugo
Copy link
Contributor

When using current_line_blame = true with a highlight that defines a bg, the virtual text has a space at the beginning but not at the end. This looks a bit off (e.g.: the virtual text looks like a small label with the text not properly aligned).

This is invisible when using a highlight without bg.

This small changes adds a space at the end so that virtual text in such situations makes better sense visually.

Fixes: #745

When using `current_line_blame = true` with a highlight that defines a
`bg`, the virtual text has a space at the beginning but not at the end.
This looks a bit off (e.g.: the virtual text looks like a small label
with the text not properly aligned).

This is invisible when using a highlight without `bg`.

This small changes adds a space at the end so that virtual text in such
situations makes better sense visually.

Fixes: #745
@lewis6991 lewis6991 merged commit f5d7b44 into lewis6991:main Feb 15, 2023
@WhyNotHugo WhyNotHugo deleted the symetric-blame-text branch February 15, 2023 12:24
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.

Add space at the end of blame virtual text
2 participants