[TxMt] Re: Injecting Grammar Into Injected Grammar?

Allan Odgaard mailinglist at textmate.org
Tue Feb 10 14:25:20 UTC 2015


On 10 Feb 2015, at 21:17, Robert J. Rockefeller wrote:

> Yes. Like this:

Please stop top-posting.

> {	name = 'text.html.markdown.yaml';

This gives the block a scope of `text.html.markdown.yaml`.

If you want YAML functionality (and injections) to be active, it should 
be `source.yaml[.front-matter]`.

> 	begin = '\A-{3}';
> 	end = '-{3}';
> 	patterns = (
> 		{ include = 'source.yaml'; },
> 	);


More information about the textmate mailing list