I'm helping a group that I consult with in customizing TextMate for their PHP development.
They have a library of functions within their company that they want to have syntax-highlighted, similar to the built-in PHP functions.
I accomplished this by creating a custom bundle, making a scope for their functions and adding the appropriate functions to the patterns section of the new language file.
My problem is this: In order to get this new scope included with PHP files, I modified the default PHP.tmbundle with { include = 'source.php.ccb'; },
This works great, everything highlights. *But*, now this is a custom PHP bundle, and any updates to the default will be masked, until the new default is manually changed.
Is there any way that I can "inject" my new scope into the PHP bundle without modifying the PHP bundle itself? I tried adding another language to my custom bundle, and just putting the include line in for the source.php scope. This disabled all the other PHP functionality.
Thanks for the help, Ken Scott