Wilfred / difftastic

a structural diff that understands syntax 🟥🟩
https://difftastic.wilfred.me.uk/
MIT License
20.54k stars 331 forks source link

Improve alignment of blank lines in added/removed sections #527

Open Wilfred opened 1 year ago

Wilfred commented 1 year ago

Screenshot from 2023-06-21 00-15-05

https://github.com/Wilfred/garden/commit/933c8f157aca1f7d9f1774caa9c3ba89cafad607

Wilfred commented 1 year ago

This is arguably a slider problem for text files: the line-based differ is choosing to match the first two blank lines, which is correct but ugly.