From 22515a370cdd77f7987bc1373cd9d3b07c7e604f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20Walle?= Date: Sun, 3 Nov 2013 20:10:21 +0100 Subject: [PATCH] Stylistic change --- autoload/sy.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy.vim b/autoload/sy.vim index 53b9e4a..aa785ac 100644 --- a/autoload/sy.vim +++ b/autoload/sy.vim @@ -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