Problem with making custom syntax highlighting in TextMate. Help!

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/07 14:23 UTC
Read the original article Hit count: 262

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

Related posts about php

Related posts about text-editors