Use single quotes for search results

This commit is contained in:
gmarik 2011-02-11 14:46:37 -06:00
parent 840cd3b683
commit cda847b7a7

View File

@ -1,6 +1,6 @@
func! vundle#scripts#search(bang,search_str) func! vundle#scripts#search(bang,search_str)
let matches = filter(s:load_scripts(a:bang), 'v:val =~? "'.escape(a:search_str,'"').'"') let matches = filter(s:load_scripts(a:bang), 'v:val =~? "'.escape(a:search_str,'"').'"')
let results = map(matches, ' printf("Bundle \"%s\"", v:val) ') let results = map(matches, ' printf("Bundle ' ."'%s'".'", v:val) ')
call s:display(reverse(results), a:search_str) call s:display(reverse(results), a:search_str)
endf endf