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** | ✅ |
| **LXDE** | ✅ |
| **LXQt** | ✅ |
| **Mate** | ✅ | Seems to have fonts missing. See #10 |
| **Mate** | ✅ | Seems to have fonts missing. |
| **UKUI** | ✅ |
| **XFCE** | ✅ |

@ -40,6 +40,11 @@ if [[ "$MORE" == "y" || "$MORE" == "Y" ]]; then
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.."
which ${PGRM}
@ -47,6 +52,11 @@ if [[ "$MORE" == "y" || "$MORE" == "Y" ]]; then
inf "Attempting to install ${PGRM}"
pacman -Sy ${PGRM} --noconfirm
fi
if [[ "$PGRM" == "neovim" ]]; then
PGRM="nvim"
fi
inf "When we open the file, please remove the leading # before any locales you need."
inf "Then, save and exit.\nPress enter."
read

Loading…
Cancel
Save