Pierre Habouzit wrote; > > > I've assumed that the slowness was because I > > > had /usr/share/vim/vimcurrent/spell/en.utf-8.spl (from the > > > distribution) and the one in my .vim/spell/en.utf-8.spl > > > > > > both are roughly the same size. When I suppress > > > the .vim/spell/en.utf-8.spl one, all goes fast again. > > > > You didn't make a .sug file perhaps? That is used to speed up making > > suggestions. > > correct, that was not mentionned in :mkspell help, and the en-US > dictionnary .aff file I used had a "NOSUGGEST !" line. > though, removing the line and running :mkspell again does not help, and > I don't know how to generate a .sub file, nothing in vim help says > that.
You mean .sug, not .sub. The file is created with the .spl file if there is no NOSUGGEST item in the affix file. See ":help spell-NOSUGFILE". > for the record, I used [1] dictionnary for that. I seem to have the same > problem for my french spell file I generated from [2], whereas it never > had a NOSUGGEST mention. You need to define sound folding, otherwise there is no .sug file. Don't expect that making a new dictionary is simple. The setup for spell checking is quite complicated and requires careful tuning and testing. -- Nothing is fool-proof to a sufficiently talented fool. /// 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://www.ICCF.nl ///
