mookid / diffr

Yet another diff highlighting tool
MIT License
572 stars 22 forks source link

Leading +,- in diffs should receive common segment highlighting per GitHub #26

Closed atweiden closed 4 years ago

atweiden commented 5 years ago

Currently, in diffr's output, the leading + and - are highlighted with unique segment highlighting. This is not how GitHub diffs work, where the leading + and - receive common segment highlighting.

Relative to GitHub, diffr's current behavior is visually distracting. The leading + or - would be better off receiving common segment highlighting.

mookid commented 5 years ago

I am not sure to understand what you mean.

Do you mean that, for instance, image

the refined highlighting starts at 'let app' rather than at column 0? if so, see #19

atweiden commented 5 years ago

github-diffr-issue-26