Fix stat count

This commit is contained in:
Marco Hinz 2019-04-02 14:09:51 +02:00
parent 7afad33753
commit b7a1f91282
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -169,9 +169,9 @@ function! sy#sign#process_diff(sy, vcs, diff) abort
let offset += 1
if s:external_sign_present(a:sy, line) | continue | endif
call add(ids, s:add_sign(a:sy, line, 'SignifyChange'))
let added += 1
endwhile
while offset < new_count
let added += 1
let line = new_line + offset
let offset += 1
if s:external_sign_present(a:sy, line) | continue | endif