[TxMt] more language grammar woe

Charilaos Skiadas skiadas at hanover.edu
Mon Oct 9 14:16:25 UTC 2006


On Oct 9, 2006, at 9:17 AM, sam aaron wrote:

> {	scopeName = 'source.latex_todo';
> 	fileTypes = ( 'TODO' );
> 	patterns = (
> 		{	match = '^(\(.*?\))';
> 			captures = { 1 = { name = 'entity.name.latex_todo'; }; };
> 		}
> 	);
> }
>
Is this the entire grammar file, or is there more that you are not  
showing us? Because if this is really the entire grammar file, then  
this wouldn't possibly give you a scope of tex.log.anything, provided  
the language grammar is indeed set to your new grammar. If this is  
not the entire file, then that means there might be other rules that  
take precedence, so you'll need to paste the entire thing.

> Yours in hope of any help at all,
> Sam Aaron
>

Haris





More information about the textmate mailing list