`dein` is a plugin manager for vim, which was supported for a while in an earlier version of topgrade. This patch reintroduces support for upgrading "plain" `dein`, rather that the `dein` UI which is invoked by `DeinUpdate` in vim.
42 lines
597 B
VimL
42 lines
597 B
VimL
if exists(":NeoBundleUpdate")
|
|
echo "NeoBundle"
|
|
NeoBundleUpdate
|
|
endif
|
|
|
|
if exists(":PluginUpdate")
|
|
echo "Plugin"
|
|
PluginUpdate
|
|
endif
|
|
|
|
if exists(":PlugUpgrade")
|
|
echo "Plug"
|
|
PlugUpgrade
|
|
if $TOPGRADE_FORCE_PLUGUPDATE
|
|
PlugUpdate!
|
|
else
|
|
PlugUpdate
|
|
endif
|
|
endif
|
|
|
|
if exists(":PackerUpdate")
|
|
echo "Packer"
|
|
PackerSync
|
|
endif
|
|
|
|
if exists("*dein#update()")
|
|
echo "dein#update()"
|
|
call dein#update()
|
|
endif
|
|
|
|
if exists(":DeinUpdate")
|
|
echo "DeinUpdate"
|
|
DeinUpdate
|
|
endif
|
|
|
|
if exists(":PaqUpdate")
|
|
echo "PaqUpdate"
|
|
PaqUpdate
|
|
endif
|
|
|
|
quitall
|