Stylistic change

This commit is contained in:
Øystein Walle 2013-11-03 20:10:21 +01:00 committed by Marco Hinz
parent 1499f548a2
commit 22515a370c

View File

@ -68,7 +68,7 @@ function! sy#start(path) abort
" update signs
else
let [ _, diff ] = sy#repo#get_diff_{g:sy[a:path].type}(a:path)
let diff = sy#repo#get_diff_{g:sy[a:path].type}(a:path)[1]
if empty(diff)
call sy#sign#remove_all(a:path)
return