fixed vim editor choice for y'all losers who can't accept that other editors exist /s

dialog
Matt C 3 years ago
parent 78e66b3aad
commit f1d4a92573

@ -35,7 +35,7 @@ Request WM/DEs [here](https://github.com/crystal-linux/citrine/issues/1).
| **KDE** | ✅ | | **KDE** | ✅ |
| **LXDE** | ✅ | | **LXDE** | ✅ |
| **LXQt** | ✅ | | **LXQt** | ✅ |
| **Mate** | ✅ | Seems to have fonts missing. See #10 | | **Mate** | ✅ | Seems to have fonts missing. |
| **UKUI** | ✅ | | **UKUI** | ✅ |
| **XFCE** | ✅ | | **XFCE** | ✅ |

@ -40,6 +40,11 @@ if [[ "$MORE" == "y" || "$MORE" == "Y" ]]; then
PGRM="$response" PGRM="$response"
echo "PGRM=$response" echo "PGRM=$response"
if [[ "$PGRM" == *"vim"* ]]; then
inf "The only *vim* package we support is nvim. Sorry!"
PGRM="neovim"
fi
inf "Checking if we have ${PGRM} already.." inf "Checking if we have ${PGRM} already.."
which ${PGRM} which ${PGRM}
@ -47,6 +52,11 @@ if [[ "$MORE" == "y" || "$MORE" == "Y" ]]; then
inf "Attempting to install ${PGRM}" inf "Attempting to install ${PGRM}"
pacman -Sy ${PGRM} --noconfirm pacman -Sy ${PGRM} --noconfirm
fi fi
if [[ "$PGRM" == "neovim" ]]; then
PGRM="nvim"
fi
inf "When we open the file, please remove the leading # before any locales you need." inf "When we open the file, please remove the leading # before any locales you need."
inf "Then, save and exit.\nPress enter." inf "Then, save and exit.\nPress enter."
read read

Loading…
Cancel
Save