Milan Berta wrote:

> In the description of E763 is written about the error when more spl
> files are used with different char-tables. But the error message appears
> also when there is a change of such spl files.
> 
> vim -u NONE
> :setlocal spell spelllang=cs
> :set spelllang=hu
> 
> I've seen the E763 error message using these two languages (Hungarian,
> Czech -- other way around too, changing Hungarian to Czech, they have
> different char-tables). I can't see the E763 while using spelllang=en as
> the one of the two changing spl.
> 
> Entering ':set nospell' between the two :spelllang=... doesn't help.
> 
> Is this surely a wanted behavior?

I notice that both "cs" and "hu" use ISO-8859-2, but the FOL/LOW/UPP
items differ.  "hu" has a few extra characters:  '-', '%', 0xa7, and
0xb0.  Are these also word characters in "cs"?  As far as I can see it's
the "hu" dictionary that is different, the other spell files use the
same word characters as "cs".

Including '-' is a bit strange here, it means it can appear anywhere in
a word, also at the start and the end.  Well, Hungarian has spelling
rules that are different from most other languages.

A workaround may be to set 'encoding', it clears the spell info.

-- 
While it's true that many normal people whould prefer not to _date_ an
engineer, most normal people harbor an intense desire to _mate_ with them,
thus producing engineerlike children who will have high-paying jobs long
before losing their virginity.
                                (Scott Adams - The Dilbert principle)

 /// 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