nvim: Improve spellfile download messages
This commit is contained in:
parent
c27e697870
commit
75334e9e87
1 changed files with 2 additions and 2 deletions
|
@ -2,10 +2,10 @@
|
||||||
# Set up a non-english spell dictionary if it doesn't exist yet.
|
# 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
|
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/"
|
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"
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue