Use single quotes for search results
This commit is contained in:
parent
840cd3b683
commit
cda847b7a7
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user