dotfiles/nvim/install.sh

23 lines
411 B
Bash
Raw Normal View History

2020-09-17 10:24:35 +00:00
#!/bin/bash
DIR=$(readlink -f $(dirname $0))
. $DIR/../env.sh
# check dependencies
! which yarnpkg && $ROOT/nodejs/install.sh
# install nvim
case "$PM" in
apt)
sudo add-apt-repository ppa:neovim-ppa/stable -y
sudo apt update
sudo apt install -y neovim
;;
pacman)
sudo pacman -S neovim
;;
esac
# symlink configuration
ln-dir $DIR/config ~/.config/nvim