Clarify messages after 'PlugUpgrade'

This commit is contained in:
Micha Moskovic 2015-01-26 10:46:20 +01:00
parent 166426718e
commit 061b326b37

View file

@ -1311,14 +1311,14 @@ function! s:upgrade()
endtry
if readfile(s:me) ==# readfile(new)
echo 'vim-plug is up-to-date'
echo 'vim-plug is already up-to-date'
silent! call delete(new)
return 0
else
call rename(s:me, s:me . '.old')
call rename(new, s:me)
unlet g:loaded_plug
echo 'vim-plug is upgraded'
echo 'vim-plug has been upgraded'
return 1
endif
endfunction