From 6a157ebd755436bfc69cda571187f2e20693ee58 Mon Sep 17 00:00:00 2001 From: pekepeke Date: Thu, 12 Sep 2013 10:47:24 +0900 Subject: [PATCH] Fix backwards logic in filter() --- autoload/sy/repo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index cc6e78f..72e0077 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -29,7 +29,7 @@ let s:vcs_dict = { \ 'perforce': 'p4' \ } -let s:vcs_list = get(g:, 'signify_vcs_list', values(filter(s:vcs_dict, 'executable(v:key)'))) +let s:vcs_list = get(g:, 'signify_vcs_list', keys(filter(s:vcs_dict, 'executable(v:val)'))) let s:diffoptions = get(g:, 'signify_diffoptions', {}) " Function: #detect {{{1