[TxMt] Re: Best approach to add new Scoping rules to grammar

Charilaos Skiadas skiadas at hanover.edu
Mon Feb 12 06:43:03 UTC 2007


On Feb 12, 2007, at 1:29 AM, Steve Lianoglou wrote:

> patterns = (
> {	include = '#constant_placeholder'; },
> {	include = '#escaped_char'; },
> );
> },
>
> Do I just fiddle with the first name =  
> string.quoted.double.block.python to add test.reStructuredText to  
> it (what's the right way to do that)?

Just add after or before those include lines another include line like:

{  include = 'text.restructuredtext';},

Haris





More information about the textmate mailing list