On 8 Mar 2008, at 00:27, Steven Ross wrote:
Hmm for some reason this doesn't work either... strange.
Are you aware of the single-line matching limitation of language grammars?
So if ‘cffunction’ and ‘name’ are not on the same lines, you cannot match it with just a single rule.
What you can do is something like:
{ begin = '<cffunction'; end = '>'; patterns = ( { match = 'name=(["''])(.*?)\1'; captures = { 2 = { name = 'entity.name.function'; }; }; } ); },