Files
topgrade/src/steps/upgrade.vim

59 lines
954 B
VimL
Raw Normal View History

" AstroUpdate calls a plugin manager - Lazy as of this writing. So we check for it before
" others. Add to init.lua:
" updater = {
" skip_prompts = true,
" },
if exists(":AstroUpdate")
echo "AstroUpdate"
AstroUpdate
quitall
endif
2020-06-28 08:33:40 +03:00
if exists(":NeoBundleUpdate")
2020-09-06 18:44:03 +02:00
echo "NeoBundle"
2020-06-28 08:33:40 +03:00
NeoBundleUpdate
endif
if exists(":PluginUpdate")
echo "Plugin"
PluginUpdate
endif
if exists(":PlugUpgrade")
echo "Plug"
PlugUpgrade
if $TOPGRADE_FORCE_PLUGUPDATE
PlugUpdate!
else
PlugUpdate
endif
2020-06-28 08:33:40 +03:00
endif
if exists("*dein#update()")
echo "dein#update()"
call dein#update()
endif
if exists(":DeinUpdate")
echo "DeinUpdate"
DeinUpdate
endif
2021-02-23 09:21:58 +01:00
if exists(":PaqUpdate")
echo "PaqUpdate"
PaqUpdate
endif
if exists(":Lazy")
echo "Lazy Update"
2023-02-01 00:19:01 +02:00
Lazy! sync | qa
endif
2022-10-26 23:27:59 +02:00
if exists(':PackerSync')
echo "Packer"
autocmd User PackerComplete quitall
PackerSync
2022-10-26 23:27:59 +02:00
else
quitall
2022-10-26 23:27:59 +02:00
endif