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: insert r_padding within final highlight #1368

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

Conversation

danielwe
Copy link

@danielwe danielwe commented Jan 17, 2025

When a component ends with a custom highlight, any r_padding should be added inside that highlight, not after, just like how l_padding is added inside a custom starting highlight. This PR takes care of that.

This is required to fully address folke/trouble.nvim#569 (see also folke/trouble.nvim#616 for the fix to trouble.nvim's own part in the issue).

Before:
Screen Shot 2025-01-16 at 16 53 11 PM

After:
Screen Shot 2025-01-16 at 17 18 20 PM

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.

1 participant