diff options
-rwxr-xr-x | nvim/install.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nvim/install.sh b/nvim/install.sh index ae4f3ed..f217fe9 100755 --- a/nvim/install.sh +++ b/nvim/install.sh @@ -1,9 +1,15 @@ #!/usr/bin/sh -echo "Installing nvim" +SCRIPT="$0" + +say() { + printf "%s: %s\n" "$SCRIPT" "$@" +} # Update plugins -nvim --headless "+Lazy! sync" +qa +say "Updating plugins" +nvim --headless -c 'Lazy! sync' -c qa # Update LSP servers +say "Updating LSP servers" nvim --headless -c 'autocmd User MasonUpdateAllComplete quitall' -c 'MasonUpdateAll' |