From 74dcd13575a0fe295840bfc333522da6696b6b1b Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 5 Aug 2014 01:25:34 +0900 Subject: [PATCH] s:upgrade_specs should be called after reloading the source --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index 479fd6e..6fdc61d 100644 --- a/plug.vim +++ b/plug.vim @@ -105,7 +105,7 @@ function! plug#begin(...) command! -nargs=* -bang -complete=customlist,s:names PlugInstall call s:install(!empty(''), ) command! -nargs=* -bang -complete=customlist,s:names PlugUpdate call s:update(!empty(''), ) command! -nargs=0 -bang PlugClean call s:clean('' == '!') - command! -nargs=0 PlugUpgrade if s:upgrade() | call s:upgrade_specs() | execute 'source '. s:me | endif + command! -nargs=0 PlugUpgrade if s:upgrade() | execute 'source '. s:me | call s:upgrade_specs() | endif command! -nargs=0 PlugStatus call s:status() command! -nargs=0 PlugDiff call s:diff()