Sort auto-completion candidates
This commit is contained in:
parent
60bda7322f
commit
a5c3952380
1 changed files with 1 additions and 1 deletions
2
plug.vim
2
plug.vim
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue