On Thu, Jun 09, 2011 at 06:57:31PM -0400, Charles E Campbell Jr wrote:
>   syn region start="%BEGIN ENGLISH" end="%END ENGLISH"
> containedin=texDocZone  contains=@Spell
Sorry, it didn't work. I got an error message:
    E399: Not enough arguments
I'm using vim 7.3, and the command you offered looks different from the
commands in the tex.vim

> (and repeat as needed for texPartZone, texChapterZone, etc (see
> syntax/tex.vim, about lines 277-286).
Then I tried:
    syn region texDocZone matchgroup=texSection start="%BEGIN ENGLISH"
    end="%END ENGLISH" contains=@Spell
This time, no error message, but it still didn't work. Even I
substituted texDocZone by {texPartZone, texChapterZone}, then add them
all to tex.vim

Maybe I made some mistakes. Should I replace "%BEGIN ENGLISH" by
something?

Cheers,
Bill Sun

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

Reply via email to