From 952920b92d64564380d5fb9d494c1b902e4f0f20 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 21 Apr 2017 13:34:00 +0200 Subject: [PATCH] Always set sy.updated_by References #235. --- 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 e948489..c4b1031 100644 --- a/autoload/sy/sign.vim +++ b/autoload/sy/sign.vim @@ -196,10 +196,10 @@ function! sy#sign#process_diff(sy, vcs, diff) abort endif call sy#verbose('Signs updated.', a:vcs) + let a:sy.updated_by = a:vcs if len(a:sy.vcs) > 1 call sy#verbose('Disable all other VCS.', a:vcs) let a:sy.vcs = [a:vcs] - let a:sy.updated_by = a:vcs endif let a:sy.stats = [added, modified, deleted]