Add an option to force vim plug update (#795)

* Add an option to force vim plug update (fix #751)

* Rustfmt

* Update src/config.rs

Co-authored-by: M*C*O <mcofficer@gmx.de>

Co-authored-by: M*C*O <mcofficer@gmx.de>
This commit is contained in:
Roey Darwish Dror
2021-11-06 06:06:10 +02:00
committed by GitHub
parent d002b1ab1a
commit 23c9908a6a
3 changed files with 32 additions and 7 deletions

View File

@@ -11,7 +11,11 @@ endif
if exists(":PlugUpgrade")
echo "Plug"
PlugUpgrade
PlugUpdate
if $TOPGRADE_FORCE_PLUGUPDATE
PlugUpdate!
else
PlugUpdate
endif
endif
if exists(":PackerUpdate")