From fc749cdcc11e473de5db5a18c6eb7fd50e7f4051 Mon Sep 17 00:00:00 2001 From: gmarik Date: Fri, 5 Aug 2011 23:47:35 -0500 Subject: [PATCH] remove duplication --- autoload/vundle/scripts.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index 2771738..0041528 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -3,7 +3,7 @@ func! vundle#scripts#all(bang, ...) let info = ['"Keymap: i - Install bundle; c - Cleanup; r - Refine list; R - Reload list'] let matches = s:load_scripts(a:bang) if !empty(a:1) - let matches = filter(s:load_scripts(a:bang), 'v:val =~? "'.escape(a:1,'"').'"') + let matches = filter(matches, 'v:val =~? "'.escape(a:1,'"').'"') let info += ['"Search results for: '.a:1] " TODO: highlight matches let b:match = a:1