mookid / diffr

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

how to use with git commit --verbose? #81

Closed lucas-mior closed 1 year ago

lucas-mior commented 2 years ago

When running git commit --verbose git opens vim with the diff so you can see whats being commited. But this diff is not filtered using diffr. I searched on the git documentation and could not find anything.

mookid commented 2 years ago

you need to convince vim to interpret ansi color codes. Otherwise you could write another formatter for colors (an existing alternative one exists that emits html)