Shading alternating patterns.

2006-10-10 Thread Aaron
I've been swapping my subscribed addresses, so I apologize if this got posted more than once. My question is casual, but I wasn't able to find anything on the FAQs or Google, so I hope someone here can tell me if I'm nuts or not. In my ideal world (which, so far, Vim has done an excellent job

Re: Shading alternating patterns.

2006-10-10 Thread Tim Chase
Is there some way, perhaps through a syntax rule, or rules, to have Vim shade the background of *alternating* CSS definitions, assuming this file format? While I'm not sure the below will solve it, I've pasted in some dialog from Benji Fisher and Tony Mechelynck (from back in February of this

Re: Shading alternating patterns.

2006-10-10 Thread A.J.Mechelynck
Aaron wrote: I've been swapping my subscribed addresses, so I apologize if this got posted more than once. My question is casual, but I wasn't able to find anything on the FAQs or Google, so I hope someone here can tell me if I'm nuts or not. In my ideal world (which, so far, Vim has done an

Re: Shading alternating patterns.

2006-10-10 Thread Aaron
Tim Chase wrote: Is there some way, perhaps through a syntax rule, or rules, to have Vim shade the background of *alternating* CSS definitions, assuming this file format? While I'm not sure the below will solve it, I've pasted in some dialog from Benji Fisher and Tony Mechelynck (from

Re: Shading alternating patterns.

2006-10-10 Thread A.J.Mechelynck
Peter Hodge wrote: Hello Aaron, You could do something like this: syn match Sel1 /^\.selector/ nextgroup=Items1 skipwhite syn region Items1 start=/{/ end=/}/ contained keepend \ nextgroup=Sel2 skipwhite skipempty hi Sel1 guibg=#44 hi Items1 guibg=#44 syn match Sel2