Mark Chantreux wrote:

> After reading the doc, i tried to generate my own .spl for french lang.
> 
> so i typed :
> 
> :mkspell  ~/.vim/spell/fr /usr/share/myspell/dicts/fr.aff
> 
> vim answer me :
> 
> Reading word file /usr/share/myspell/dicts/fr.aff ...
> Compressing word tree...
> Compressed 10897 of 14859 nodes; 3962 (26%) remaining
> Compressed 10897 of 14859 nodes; 3962 (26%) remaining
> Writing spell file /home/mc/.vim/spell/fr.latin1.spl ...
> Done!
> Estimated runtime memory use: 49520 bytes
> 
> ( so my spellchecker missed 26% of the words ?)
> 
> so i typed :
> 
> :setlocal spell spelllang=fr
> 
> there is no error message there but all my current file appears as 
> mispelled. Do i have missed something ?

Try leaving out ".aff" from the command.  Vim also needs the ".dic"
file.  What you did was using the .aff file as a list of words.

-- 
CART DRIVER: Bring out your dead!
   We follow the cart through a wretched, impoverished plague-ridden village.
   A few starved mongrels run about in the mud scavenging.  In the open
   doorway of one house perhaps we jug glimpse a pair of legs dangling from
   the ceiling.  In another doorway an OLD WOMAN is beating a cat against a
   wall rather like one does with a mat.  The cart passes round a dead donkey
   or cow in the mud.  And a MAN tied to a cart is being hammered to death by
   four NUNS with huge mallets.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to