summaryrefslogtreecommitdiff
path: root/install.sh
blob: b64693b2c442f18834f44741fcb6ce8acc55a8a7 (plain)
1
2
3
4
5
6
#!/bin/sh

which nvim >/dev/null 2>&1 || (echo "Neovim not installed!" && exit 1)
which luarocks >/dev/null 2>&1 || (echo "Luarocks not installed!" && exit 1)
luarocks list | grep "fennel" >/dev/null 2>&1 || (echo "fennel is not installed" && exit 1)
nvim --headless +qa && nvim --headless -c "autocmd User PackerComplete quitall"