Refine packer update commands

This commit is contained in:
Marko Korhonen 2022-08-23 09:28:07 +03:00
parent 6e52e8a4fb
commit 64d984edb8
2 changed files with 14 additions and 11 deletions

View file

@ -132,7 +132,9 @@ update() {
}
plugins() {
nvim -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
echo "Updating NeoVim plugins"
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
echo "Updating NeoVim TreeSitter"
nvim --headless +TSUpdateSync +qa
zinit self-update
zinit update -p