E763 with vim and spell checker

spell-checkingvim

I want to add germand spell checking to vim. So I set

:set spl=de_de spell

then there is a dialogue, where I can create a directory called .vim/spell. And then there is another question where I can download a .spl file. And again for a .sug file. But when I download both files I get an error

Fehler beim Ausführen von "~/.vim/spell/de.utf-8.spl":
E763: 'Word Characters' unterscheiden sich zwischen Rechtschreibwörterbüchern

But despite the error I can use the spell checking and even the suggestion works.

Also I could not :mksp my own .spl-file from myspell, cause it wouldn't read the .dic-file. And I deleted the spelldirectory and retried it. Nothing worked.

Best Answer

Debian wheezy:

sudo apt-get install vim-scripts # Needed for spell downloading script
sudo rm /usr/share/vim/vim73/spell/*.sug /usr/share/vim/vim73/spell/*.spl
sudo vim

now trigger downloading in vim:

set spell spelllang=en,de,OR_WHATEVER_LANGUAGE_YOU_WANT

et voilà, you will get perfectly working spell files for all users.

(If you only want them for the current user, skip the sudo before calling vim or, change the installation directory to /home/YOUR_USER/.vim/spell.)