blob: 106125f8f30c253ff14e03d8a3e8a0707375ae63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/sh
SCRIPT="$0"
say() {
printf "%s: %s\n" "$SCRIPT" "$@"
}
# Update plugins
say "Updating plugins to lock-file"
nvim --headless -c 'Lazy! restore' -c qa
nvim --headless -c 'Lazy! clean' -c qa
# Update LSP servers
say "Updating LSP servers"
nvim --headless -c 'autocmd User MasonUpdateAllComplete quitall' -c 'MasonUpdateAll'
|