Files
topgrade/src/steps/upgrade.vim
Funky185540 547df8d346 vim: Support updating dein (#857)
`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.
2022-02-13 08:08:36 +02:00

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