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

Merge adjacent tokens in diffs #181

Merged
merged 2 commits into from
Nov 9, 2024
Merged

Conversation

lolgab
Copy link

@lolgab lolgab commented Nov 9, 2024

The way diffs are displayed today is hard to read with strings with many separators.
This PR merges Inserted and Deleted blocks in diffs so they are easier to read.

Before:
before

After:
after

The way diffs are displayed today is hard to read with strings
with many separators
Copy link
Owner

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

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

Looks great. Thanks for the contribution!

@eed3si9n eed3si9n merged commit fbe56b8 into eed3si9n:develop Nov 9, 2024
2 checks passed
@lolgab lolgab deleted the prettier-diffs branch November 9, 2024 20:07
@lolgab
Copy link
Author

lolgab commented Nov 11, 2024

Can you release a new version with this change?
It would also close #177 and #62.

@keynmol
Copy link
Collaborator

keynmol commented Nov 13, 2024

0.17.0 is out, which contains it

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.

3 participants