On Wed, Jun 14, 2006 at 10:37:45AM +0200, Bram Moolenaar wrote: > > Steve Hall wrote: > > > Does the vim7 automatic downloading of a new spellcheck dictionary > > work as advertised in :help spellfile.vim? The command in help is: > > > > autocmd SpellFileMissing * call > > Download_spell_file(expand('<amatch>')) > > > > but in spellfile.vim is: > > > > autocmd SpellFileMissing * call spellfile#LoadFile(expand('<amatch>')) > > > > I was just getting ready to write this feature until I saw it in the > > help, but I can't get either to work. (And don't even grep the first > > in any runtime file.) > > Vim 7 should already offer downloading a missing spell file out of the > box. But only when plugins are loaded, since > $VIMRUNTIME/plugin/spellfile.vim is used.
Looks like on my system something is not configured properly. At least when I tried to do spell check for russian, vim told me that I don't have the dictionary, but it didn't offer to download the dictionary. I've downloaded it manually (ru.utf-8.spl and ru.utf-8.sug) and now the command :setlocal spell spelllang=ru does not produce any errors, but it does not do any spell checking neither. It only marks words written in English :) :spellinfo gives file: ~/.vim/spell/ru.utf-8.add.spl file: /usr/share/vim/vim70/spell/ru.utf-8.spl So, what did I do wrong? Do I have to do anything special to load spellfile.vim plugin? -- Minds, like parachutes, function best when open