Clear signs when there are no changes

This commit is contained in:
Marco Hinz 2017-04-18 20:17:45 +02:00
parent 179fe50edf
commit 11ea128b16
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -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