summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-12-22 13:08:59 -0600
committerToby Vincent <tobyv13@gmail.com>2022-12-22 13:08:59 -0600
commitcf52b8c2dd6a2f4935e105c4b40dfcf5df0c77ac (patch)
tree78cfb754c0962a8c7c0a691396cded9ee4072fa6
parent6540089a4d8aa427227fda66569534bc56b58f48 (diff)
feat: add lazy sync (update) command to install script
-rwxr-xr-xinstall.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index 466469e..f99e267 100755
--- a/install.sh
+++ b/install.sh
@@ -163,8 +163,9 @@ stow $verbose_args $simulate $@
if $nvim; then
need nvim
- # Update Packer plugins
- nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
- # Update Mason packages
+ # Update plugins
+ nvim --headless "+Lazy! sync" +qa
+
+ # Update LSP servers
nvim --headless -c 'autocmd User MasonUpdateAllComplete quitall' -c 'MasonUpdateAll'
fi