Tuesday, October 16, 2012

Re: Spellcheck on Tex-Files

> I would gladly put the specific rules in my after/ftplugin, but
unfortunately I don't know exactly what to put there. Could you please
tell me what specifically I would put there or point me for some files
with specific examples?

You need to recognize the regions and use add=@NoSpell with them.

:help syn-region

syntax/tex.vim has a number of "syn region" usages that you could use as
an example. See "syn region DocZone" for example. You'll probably want
to contains=@texFoldGroup, in the text region.

Regards,
C Campbell

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

No comments: