nvim: Improve spellfile download messages

This commit is contained in:
Marty Oehme 2023-12-12 14:08:17 +01:00
parent c27e697870
commit 75334e9e87
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -2,10 +2,10 @@
# Set up a non-english spell dictionary if it doesn't exist yet.
if [ ! -e "${XDG_DATA_HOME:-$HOME/.local/share}/nvim/site/spell/de.utf-8.spl" ]; then
echo "Neovim spell dictionary not yet installed, downloading..."
printf "Neovim spell dictionary not yet installed, downloading..."
mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/nvim/site/spell/"
wget -q 'https://ftp.nluug.nl/pub/vim/runtime/spell/de.utf-8.spl' -O "${XDG_DATA_HOME:-$HOME/.local/share}/nvim/site/spell/de.utf-8.spl"
echo "Done."
printf " done!\n"
fi