Update neovim also updates vim-plug
This commit is contained in:
parent
55b66031e0
commit
128ce35e75
|
@ -311,6 +311,9 @@ update-neovim() {
|
||||||
local start=`date +%s`
|
local start=`date +%s`
|
||||||
echo -e "\033[32;1m=== Updating neovim packages ===\033[0m"
|
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
|
nvim +PlugUpdate +qall
|
||||||
|
|
||||||
local seconds=$((`date +%s` - $start))
|
local seconds=$((`date +%s` - $start))
|
||||||
|
|
Loading…
Reference in New Issue