Hyprland-dotfiles/.install/neovim.sh

17 lines
557 B
Bash
Raw Normal View History

2024-03-20 05:10:25 -04:00
# ------------------------------------------------------
# Neovim
# ------------------------------------------------------
neovim=0
if [ -d ~/dotfiles/nvim ]; then
echo -e "${GREEN}"
figlet "Neovim"
echo -e "${NONE}"
if gum confirm "Do you want to install the ML4W Neovim configuration and overwrite your existing configuration?"; then
echo ":: ML4W Neovim configuration will be installed"
neovim=1
else
rm -rf ~/dotfiles-versions/$version/nvim/
echo ":: Installation of ML4W Neovim configuration skipped."
fi
fi