[TxMt] Defining functions in bundle
cormullion at mac.com
cormullion at mac.com
Thu Aug 3 16:19:09 UTC 2006
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...
--
(<http://newlisper.blogspot.com/>)
More information about the textmate
mailing list