Spell checking a word straddling @Spell and @NoSpell

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Spell checking a word straddling @Spell and @NoSpell

Antony Scriven-3
Hi folks

If a word straddles two syntax items, and the first allows spell checking but
the second does not, then spell checking still occurs on the word as a whole.

So it looks like the spell clusters define where spell checking can
start, but not where it stops. Is this intentional? If so, is it in the
documentation? Nothing leapt out at me, so maybe the documentation at
`:help spell-syntax` could do with additional details in that case.


    :set spell
    :syn match search 'xxx' contains=@NoSpell

'wordxxx' is highlighted as a bad word.

Version 8.0.046


You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.