Making custom syntax highlighting in TextMate
Posted
by Andrei
on Super User
See other posts from Super User
or by Andrei
Published on 2010-06-03T17:46:13Z
Indexed on
2010/06/03
17:56 UTC
Read the original article
Hit count: 287
textmate
|syntax-highlighting
Hi, I am trying to highlight custom language in TextMate. However, the following definition does not highlight PHP insertions:
{ scopeName = 'source.serpent';
fileTypes = ( 'serpent' );
patterns = (
{ begin = '<\?';
end = '\?>';
patterns = ( { include = 'source.php'; } );
},
);
}
What can be the reason?
© Super User or respective owner