Update neovim also updates vim-plug

This commit is contained in:
Thomas Forgione 2019-06-19 09:49:53 +02:00
parent 55b66031e0
commit 128ce35e75
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 3 additions and 0 deletions

View File

@ -311,6 +311,9 @@ update-neovim() {
local start=`date +%s`
echo -e "\033[32;1m=== Updating neovim packages ===\033[0m"
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim 2>/dev/null
nvim +PlugUpdate +qall
local seconds=$((`date +%s` - $start))