[TxMt] Way to remember what language I'm using

Niels Kobschätzki n.kobschaetzki at googlemail.com
Sat Mar 10 06:59:45 UTC 2007


On Mar 10, 2007, at 7:57 AM, Allan Odgaard wrote:

> On 10. Mar 2007, at 06:43, Michael Jackson wrote:
>
>> Ah yes. Some of the files that I work on actually do have the same  
>> extension, but I'd like them to be highlighted in different  
>> languages. For example, sometimes I generate CSS files with php.  
>> The file will be named something like: style.css.php. What I would  
>> like to do is tell TextMate that, even though this file has a php  
>> extension, it's really CSS,
>
> If you go to the bundle editor and locate the CSS language grammar,  
> you can put ‘css.php’ in the file types array, that should make it  
> treat files with this double extension as CSS.

but won't this be deleted with an svn-update of the css-bundle?

Niels


More information about the textmate mailing list