Sort auto-completion candidates

This commit is contained in:
Junegunn Choi 2014-10-10 17:36:54 +09:00
parent 60bda7322f
commit a5c3952380

View file

@ -643,7 +643,7 @@ function! s:is_managed(name)
endfunction
function! s:names(...)
return filter(keys(g:plugs), 'stridx(v:val, a:1) == 0 && s:is_managed(v:val)')
return sort(filter(keys(g:plugs), 'stridx(v:val, a:1) == 0 && s:is_managed(v:val)'))
endfunction
function! s:update_impl(pull, force, args) abort