From 11ea128b16e5bb5dfc56fc389a4188530a6c92a2 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 18 Apr 2017 20:17:45 +0200 Subject: [PATCH] Clear signs when there are no changes --- autoload/sy.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/sy.vim b/autoload/sy.vim index 11c85ba..1e9b2db 100644 --- a/autoload/sy.vim +++ b/autoload/sy.vim @@ -91,6 +91,7 @@ function! sy#set_signs(sy, vcs, diff) abort if empty(a:diff) call sy#verbose('No changes found.', a:vcs) + call sy#sign#remove_all_signs(a:sy.buffer) return endif