dandavison / delta

A syntax-highlighting pager for git, diff, grep, and blame output
https://dandavison.github.io/delta/
MIT License
22.71k stars 378 forks source link

🚀 Highlight character difference, similarly to VS Code #1059

Open igorcafe opened 2 years ago

igorcafe commented 2 years ago

I think the way VS Code handles diff is very good and clear. It would be cool if I had a similar option using delta.

VS Code diff: image

Delta: image

dandavison commented 2 years ago

Hi @igoracmelo, thanks for this. Does word-diff-regex=. do it (or a similar variant)?

image

Some brief documentation of it is in delta --help as usual.