-
Notifications
You must be signed in to change notification settings - Fork 5
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
Unexpected highlight #14
Comments
|
Smaller test case: --- /tmp/pirate/pirate-ipsum-before.txt 2020-12-31 00:11:15.000000000 +0100
+++ /tmp/pirate/pirate-ipsum-after.txt 2020-12-31 00:11:46.000000000 +0100
@@ -1,6 +1,7 @@
-the hole black
-spot
+the hole
+black spot |
Explanation
So I see this as a space and a newline switched places. And Given that I still don't like it though. |
I think the correct solution to this would be to say that highlighting words is more expensive than highlighting non-words. But that would require support in https://github.com/distil/diffus which is not there right now. |
The Problem
black
is highlighted even though I think it shouldn't. Either explain this or fix it!The diff
The text was updated successfully, but these errors were encountered: