Reverse search results to show most recent on top
This commit is contained in:
parent
f002815be0
commit
840cd3b683
@ -1,7 +1,7 @@
|
||||
func! vundle#scripts#search(bang,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) ')
|
||||
call s:display(results, a:search_str)
|
||||
call s:display(reverse(results), a:search_str)
|
||||
endf
|
||||
|
||||
func! s:display(results,search_str)
|
||||
|
Loading…
Reference in New Issue
Block a user