blob: e51df096dc0e9d17f7495bec20d16d1fed4609e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
if ! command -v "nvim" >/dev/null; then
printf "%s: nvim not found, skipping...\n" "$0"
exit 0
fi
printf "%s: Restoring plugins\n" "$0"
nvim --headless -c 'Lazy! restore' -c qa
nvim --headless -c 'Lazy! clean' -c qa
printf "%s: Installing treesitter parsers\n" "$0"
nvim --headless -c 'TSInstallSync' -c qa
|