[TxMt] Syntax highlighting in APT bundle

Trevor Harmon trevor at vocaro.com
Fri Jan 9 22:58:19 UTC 2009


Hi,

I'm trying out the Almost Plain Text (APT) bundle. It has snippets and  
commands, but for some reason it doesn't do syntax highlighting. This  
is strange because the bundle already defines the regex for some scopes:

http://macromates.com/svn/Bundles/trunk/Review/Bundles/Almost%20Plain%20Text%20(APT).tmbundle/Syntaxes/Almost%20Plain%20Text%20(APT).tmLanguage

I want to try to finish the work and add syntax highlighting support  
myself, but I'm not sure where to begin. For instance, how would I  
make the "comment.line.tilde.apt" patten be highlighted by TextMate as  
a comment? Likewise, how would I make "markup.bold.inline.apt" appear  
in bold?

Thanks,

Trevor




More information about the textmate mailing list