Problem with making custom syntax highlighting in TextMate. Help!

Posted by Andrei on Stack Overflow See other posts from Stack Overflow or by Andrei
Published on 2010-06-03T20:44:35Z Indexed on 2010/06/06 15:42 UTC
Read the original article Hit count: 213

Hi, I am trying to highlight a 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? Should it work?

© Stack Overflow or respective owner

Related posts about php

Related posts about ruby-on-rails