summaryrefslogtreecommitdiffstatshomepage
path: root/nvim/install.sh
blob: 8d210119b8e4554255c8f00fabe64f4e7c75ff95 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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