fix: Run AstroUpdate before Lazy sync (#473)
This commit is contained in:
@@ -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")
|
if exists(":NeoBundleUpdate")
|
||||||
echo "NeoBundle"
|
echo "NeoBundle"
|
||||||
NeoBundleUpdate
|
NeoBundleUpdate
|
||||||
@@ -38,11 +49,6 @@ if exists(":Lazy")
|
|||||||
Lazy! sync | qa
|
Lazy! sync | qa
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if exists(":AstroUpdate")
|
|
||||||
echo "AstroUpdate"
|
|
||||||
AstroUpdate
|
|
||||||
endif
|
|
||||||
|
|
||||||
if exists(':PackerSync')
|
if exists(':PackerSync')
|
||||||
echo "Packer"
|
echo "Packer"
|
||||||
autocmd User PackerComplete quitall
|
autocmd User PackerComplete quitall
|
||||||
|
|||||||
Reference in New Issue
Block a user