Spell checking in vim
Marco Guazzone
marco.guazzone at gmail.com
Sun Aug 23 19:51:12 UTC 2009
2009/8/23 Christoph Höger <choeger at cs.tu-berlin.de>:
> Am Sonntag, den 23.08.2009, 09:30 +0200 schrieb Marco Guazzone:
>> On Sat, Aug 22, 2009 at 5:48 PM, Aaron Konstam<akonstam at sbcglobal.net> wrote:
>> [cut text]
>>
>> > I am missing something. If you get the file how do you get vim to
>> > correct the misspelled words?
>> >>
>>
>> Once you have the dictionary file in $HOME/.vim/spell (in this case
>> the file is "de.utf-8.spl") you can spell check inside ViM by issueing
>> the command:
>>
>> :setlocal spell spelllang=de
>
> Did you test that with fedora 11 and vim 7.2? On my machine vim says
> the file would not look like a language file.
>
Hmmm... Sorry I've only tested the download of the file.
Actually it seems you're right ... ViM complains about the file me too
I've tried to download it manually from:
http://ftp.vim.org/pub/vim/runtime/spell/
but I get the same error.
Then I dig into the ViM repo and I've found this:
http://ftp.vim.org/pub/vim/unstable/runtime/spell/de.utf-8.spl
http://ftp.vim.org/pub/vim/unstable/runtime/spell/de.utf-8.sug
Note: the "sug" file is not important but should improve spelling
(don't know how)
I've downloaded those files and saved into $HOME/.vim/spell
Then I've tried
:setlocal spell spelllang=de
and now it seems to work
-- Marco
More information about the users
mailing list