Clear signs when there are no changes
This commit is contained in:
parent
179fe50edf
commit
11ea128b16
@ -91,6 +91,7 @@ function! sy#set_signs(sy, vcs, diff) abort
|
|||||||
|
|
||||||
if empty(a:diff)
|
if empty(a:diff)
|
||||||
call sy#verbose('No changes found.', a:vcs)
|
call sy#verbose('No changes found.', a:vcs)
|
||||||
|
call sy#sign#remove_all_signs(a:sy.buffer)
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user