Sequence of syntax items

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Sequence of syntax items

Lars Noschinski
Hello!

Is there a way to tell vim if syntax item A matched, then try to match
B, then C, then D (in exactly this order) without using nextgroup in B,C
and D?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Sequence of syntax items

Charles E Campbell Jr
Quoting Lars Noschinski <[hidden email]>:

> Is there a way to tell vim if syntax item A matched, then try to match
> B, then C, then D (in exactly this order) without using nextgroup in B,C
> and D?

No -- that's what nextgroup is for.

Regards,
Chip Campbell




Loading...