On 2006-08-03, at 13:48, Allan Odgaard wrote:
In this case you would change the rule to using begin/end, like:
{ name = 'meta.function.newlisp'; begin = '((define)\s+('; beginCaptures = { 1 = { name = 'keyword.control.define.newlisp'; }; }; end = ')'; patterns = ( { name = 'variable.parameter.newlisp'; match = '[a-z]+'; } ); }
Hey - I got it working, and merged your two previous suggestions to produce a working (but hard-to-read) language definition. Eventually. ;-)
Thank you so much for your patience...