ghewgill / vim-scmdiff

Vim script to highlight lines changed from a base version in SCM
65 stars 11 forks source link

No indication of removed lines #2

Open dlee opened 14 years ago

dlee commented 14 years ago

If you delete lines, SCMDiff does not show which lines were deleted. It only shows changed and added lines. I'm not sure what the best approach for this would be, however, without actually changing the content of the buffer.

shire commented 14 years ago

I was looking at doing this for a while, but was having difficulty finding a good way to insert display data that wasn't actually part of the file. I think you can do this at a lower level using a similar mechanism to how folding works (as it displays a highlighted line in place of text which isn't actually part of a file). If we could figure out a way to use that then this might be possible. This should also allow line numbering and other similar features to work correctly.

slestak commented 13 years ago

The split view described in issue 4 may be the answer to this. Maybe when not in SplitView, just display in some manner the count of "missing/deleted" lines.