From 75334e9e873e5734ee4b1b1ac284acf560e393c6 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 12 Dec 2023 14:08:17 +0100 Subject: [PATCH] nvim: Improve spellfile download messages --- nvim/.config/sh/env.d/set-up-spellfile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvim/.config/sh/env.d/set-up-spellfile.sh b/nvim/.config/sh/env.d/set-up-spellfile.sh index 39eac18..2ccdd31 100644 --- a/nvim/.config/sh/env.d/set-up-spellfile.sh +++ b/nvim/.config/sh/env.d/set-up-spellfile.sh @@ -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