On 8/9/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
Nikolai Weibull wrote:
> In my syntax/context.vim I include a bunch of other syntaxes.  All
> work fine except for the xml one, as spell-checking stops working when
> it's included.  It seems to be due to the fact that there are items in
> the xml syntax that are marked to contain @Spell.  This seems to set
> off the default of having everything be spell-checked.  The context
> syntax does have a bunch of @NoSpell, however, and other syntaxes
> included, such as those for c and ruby, include @Spell containments as
> well.  I don't quite understand why this is happening, so perhaps
> someone with better knowledge of the @Spell/@NoSpell rules could help
> me out.
>
> Also, is there a way to say that spell-checking should be on
> everywhere, even though @Spell has been set for some definitions?
>
> Thanks.
>
>  nikolai
>
>

IIUC, there are 4 possibilities:

- with neither [EMAIL PROTECTED] nor [EMAIL PROTECTED] anywhere in the
syntax script, spell checking is used throughout.

- with only [EMAIL PROTECTED], only those items are spell-checked.

- with only [EMAIL PROTECTED], everything is spell-checked except those
items;

That's the conclusion I reached as well, but the thing is that the C
syntax has [EMAIL PROTECTED] as well, but doesn't cause any problems.

 nikolai

Reply via email to