Re: Syntax: group which can be contained or uncontained

2013-12-11 Thread Ben Fritz
On Wednesday, December 11, 2013 8:17:58 AM UTC-6, BPJ wrote: > I'm trying to write my own syntax file for a language where there are a lot > of groups of the form > > :syn match langSomeGrp /^\s*KeyWord.*/ > > The problem is that there are also end-of-line comments > > :syn match langComment /

Re: Syntax: group which can be contained or uncontained

2013-12-11 Thread Paul Isambert
> I'm trying to write my own syntax file for a language where there are > a lot of groups of the form > > :syn match langSomeGrp /^\s*KeyWord.*/ > > The problem is that there are also end-of-line comments > :syn match langComment /--.*/ > > which can either stand on a line of its own OR be conta

Syntax: group which can be contained or uncontained

2013-12-11 Thread BPJ
I'm trying to write my own syntax file for a language where there are a lot of groups of the form :syn match langSomeGrp /^\s*KeyWord.*/ The problem is that there are also end-of-line comments :syn match langComment /--.*/ which can either stand on a line of its own OR be contained in a group li