Fix backwards logic in filter()

This commit is contained in:
pekepeke 2013-09-12 10:47:24 +09:00 committed by Marco Hinz
parent 9eedb00a04
commit 6a157ebd75

View File

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