From b7a1f91282b098fa37210f1ac29ee0fc50bc5099 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 2 Apr 2019 14:09:51 +0200 Subject: [PATCH] Fix stat count --- autoload/sy/sign.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy/sign.vim b/autoload/sy/sign.vim index 2bf6ec7..23b7038 100644 --- a/autoload/sy/sign.vim +++ b/autoload/sy/sign.vim @@ -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