Hyprland-dotfiles/.install/neovim.sh

22 lines
665 B
Bash
Raw Permalink 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}"
2024-05-01 06:48:38 -04:00
echo ":: The script has detected a nvim folder."
2024-05-27 07:39:44 -04:00
echo
2024-05-01 06:48:38 -04:00
if gum confirm "Do you want to install the ML4W Neovim configuration?"; then
2024-03-20 05:10:25 -04:00
echo ":: ML4W Neovim configuration will be installed"
neovim=1
2024-05-27 07:39:44 -04:00
elif [ $? -eq 130 ]; then
echo ":: Installation canceled."
exit 130
2024-03-20 05:10:25 -04:00
else
rm -rf ~/dotfiles-versions/$version/nvim/
echo ":: Installation of ML4W Neovim configuration skipped."
fi
fi