David Brown wrote:

A.J.Mechelynck wrote:
> David Brown wrote:

>> What I'm having difficulty with is figuring out what to put there.  Is
>> there a way of finding out what region a given part of the buffer is in?
>
> I'm not a specialist of these matters; but try help completion on synID

Well, I did figure out how to get cweb working, by adding the line:

 syntax cluster texFoldGroup add=webCpart

to cweb.tex.  I figured this out by tracing through tex.vim by hand and
by finding a group that nearly everything included. I still don't know how
to debug these, but at least I got things working.

That's the folding support stuff.  Folks wanted to have syntax-based folding
for LaTeX for things like sections, subsections, chapters, etc. Hence, these
things had to be in foldable regions.

Glad you figured it out!
Chip Campbell

Reply via email to