[TxMt] Re: How To Highlight Custom Syntax

Allan Odgaard mailinglist at textmate.org
Fri Nov 6 03:47:47 UTC 2009


On 5 Nov 2009, at 00:06, Graden Hudson wrote:

> I would like to know how to extend the syntax styling to highlight a
> proprietary syntax in my code [...]
> Here is what I was reading:
> http://manual.macromates.com/en/language_grammars

That is indeed the canonical guide explaining how grammars work.

So how much were you able to follow? Do you know regular expressions?  
Did you find the existing HTML grammar and look at that?





More information about the textmate mailing list