Directly check for vim binary instead of nvim

This commit is contained in:
Jason Streifling 2024-09-20 21:23:07 +02:00
parent bc657cf034
commit 7ab1f488c4

View File

@ -26,7 +26,7 @@ fi
echo -e '\nInstalling dependencies ...' >&2
! which curl >/dev/null 2>&1 && sudo pacman -Syu curl
! which git >/dev/null 2>&1 && sudo pacman -Syu git
if ! which nvim >/dev/null 2>&1; then
if ! which vim >/dev/null 2>&1; then
sudo pacman -Syu neovim
sudo ln -s /usr/bin/nvim /usr/local/bin/vim
fi