Directly check for vim binary instead of nvim
This commit is contained in:
parent
bc657cf034
commit
7ab1f488c4
@ -26,7 +26,7 @@ fi
|
|||||||
echo -e '\nInstalling dependencies ...' >&2
|
echo -e '\nInstalling dependencies ...' >&2
|
||||||
! which curl >/dev/null 2>&1 && sudo pacman -Syu curl
|
! which curl >/dev/null 2>&1 && sudo pacman -Syu curl
|
||||||
! which git >/dev/null 2>&1 && sudo pacman -Syu git
|
! 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 pacman -Syu neovim
|
||||||
sudo ln -s /usr/bin/nvim /usr/local/bin/vim
|
sudo ln -s /usr/bin/nvim /usr/local/bin/vim
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user