[TxMt] Nested comments for a Coldfusion language bundle

Tim Lucas t.lucas at toolmantim.com
Fri Feb 10 07:56:49 UTC 2006


A month or two ago I started making a Coldfusion bundle and haven't  
look at it since... and now I'm back doing some CF work again the  
highlighting is starting to piss me off, so I thought I'd ask you  
guys: how do I do a bundle pattern that matches nested comments?

In CFML you can have

<!---
   <cfif something eq true>
     <!--- A nested comment --->
  </cfif>
--->

and the whole thing should be syntax coloured as a comment.

The basic pattern at the moment is:

{
   name = 'comment.block.html';
   begin = '<!---';
   end    = '--->';
}

any ideas how to get nesting working?

-- Tim



More information about the textmate mailing list