-
Notifications
You must be signed in to change notification settings - Fork 393
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
π Minimal color mode reusing the default colors #193
Comments
By the way, shouldn't the "yeah" part of the diff be highlighted by |
Hi @waldyrious, this is awesome and very helpful, thanks very much. The good news is I'm working on this right now. (See also #177).
Does it highlight with a value like |
Yay! That's great to hear. π
It still doesn't. π’ I tried with various values, but none worked to highlight just the "yeah" part of the line. In any case, that's a discussion to continue in #140 :) I'll follow that thread and chime in with any feedback I can provide. |
@waldyrious I believe this is now fixed in
Closing because I believe fixed but let me know if not! Next up: what is going on with that |
Nice! Thanks for the quick fix :) |
I've been using git's diff-highlight script and I like the way it handles colors β it supports inline insertion/deletion highlighting (not as well as
delta
) using the reversed/negative style based on the same red/green colors used for the non-highlighted parts.I would love if delta had an option to do the same. Right now, the difference is quite jarring to my eyes:
git
diff-highlight
delta --color-only
delta
For comparison, here's what
diff-so-fancy
does. Note how it reuses the original colors for added/deleted text, as well as for the file and hunk headers (although it does introduce a different shade of green for the inline highlight, which I've reported in so-fancy/diff-so-fancy#374):The text was updated successfully, but these errors were encountered: