tomtom / quickfixsigns_vim

Mark quickfix & location list items with signs
http://www.vim.org/scripts/script.php?script_id=2584
GNU General Public License v3.0
131 stars 13 forks source link

vcsdiff: display number of deleted lines #37

Closed blueyed closed 10 years ago

blueyed commented 10 years ago

I think it would be useful to have the number of deleted lines displayed, instead of just the marker.

tomtom commented 10 years ago

I don't think that's easily possible. The only option would be generate a new sign for every amount of deleted lines, i.e. DEL1 for one line was deleted, DEL 2 for two lines ... IMHO this is too much of a hassle for the outcome.

blueyed commented 10 years ago

Signify does it: https://github.com/mhinz/vim-signify It appears to use a placeholder in the sign, which gets replaced by the number: https://github.com/mhinz/vim-signify/blob/master/autoload/sy/repo.vim#L223