Create vim symlink to neovim for vim -d binary

This commit is contained in:
Jason Streifling 2024-09-20 21:21:47 +02:00
parent c7e1b7e01a
commit bc657cf034

View File

@ -26,7 +26,10 @@ 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
! which nvim >/dev/null 2>&1 && sudo pacman -Syu neovim if ! which nvim >/dev/null 2>&1; then
sudo pacman -Syu neovim
sudo ln -s /usr/bin/nvim /usr/local/bin/vim
fi
! which rankmirrors >/dev/null 2>&1 && sudo pacman -Syu pacman-contrib ! which rankmirrors >/dev/null 2>&1 && sudo pacman -Syu pacman-contrib
if ! which yay >/dev/null 2>&1; then if ! which yay >/dev/null 2>&1; then
sudo pacman -Syu sudo pacman -Syu