On 18.05.11 18:35, Christian Brabandt wrote:
> 
> But since vim own spell checker works good another for me,
> I don't remember those plugins (that are really outdated for quite
> some time) and can't give any guidance on their quirks...

What impressed me enormously was the auto-install helpfulness, even back
in an older vim version. Without first installing any dictionaries, I set
vim for Danish spellchecking:

:set spell spelllang=da

To which vim responded:

»
Shall I create /home/erik/.vim/spell
                                                # Answered y <CR>
Cannot find spell file for "da" in utf-8
Do you want me to try downloading it?
                                                # Answered y <CR>
Downloading da.utf-8.spl...
:!curl 'http://ftp.vim.org/pub/vim/runtime/spell/da.utf-8.spl' -o 
'/tmp/v5STjcI/0.spl'

In which directory do you want to write the file:
1. /home/erik/.vim/spell
[C]ancel, (1): 1
"~/.vim/spell/da.utf-8.spl" [New] 2217L, 895285C written

Do you want me to try getting the .sug file?
This will improve making suggestions for spelling mistakes,
but it uses quite a bit of memory.
«

That is some in-built spell checking system!

Now I just have to find out how to invoke the spelling suggestions.
(After resorting to a helpgrep, I've waded through enough of the hits to
stumble across spellsuggest(), but I need command-line functionality,
not a scripting function.)

Oh well, trial and error works well enough, since it's usually the
endings or glue letter in compounds which trip me up.

Erik

-- 
Meskimen's Law:
    There's never time to do it right, but always time to do it over.

Reply via email to