fix: Run AstroUpdate before Lazy sync (#473)

This commit is contained in:
slowsage
2023-06-23 05:01:55 -04:00
committed by GitHub
parent 3e6c6e513b
commit d7709490ce

View File

@@ -1,3 +1,14 @@
" 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
if exists(":NeoBundleUpdate")
echo "NeoBundle"
NeoBundleUpdate
@@ -38,11 +49,6 @@ if exists(":Lazy")
Lazy! sync | qa
endif
if exists(":AstroUpdate")
echo "AstroUpdate"
AstroUpdate
endif
if exists(':PackerSync')
echo "Packer"
autocmd User PackerComplete quitall