-
Notifications
You must be signed in to change notification settings - Fork 446
Closed
Description
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):
Metadata
Metadata
Assignees
Labels
No labels