From a5c3952380415a0fcdaa6f41ebcc4d735f88eeee Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 10 Oct 2014 17:36:54 +0900 Subject: [PATCH] Sort auto-completion candidates --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index bd515d5..36b7f71 100644 --- a/plug.vim +++ b/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