[TxMt] Re: Different Themes based on file type

Rob McBroom mailinglist0 at skurfer.com
Fri Aug 23 12:14:18 UTC 2019


On 23 Aug 2019, at 7:45, Umberto Cerrato wrote:

> Is there a function to make TextMate 2 opens a certain file type using 
> a specific theme? e.g. there is the default theme and then you can set 
> TM to open html files using another theme.

This is what I have in `~/.tm_properties` to make certain types open 
with a light theme.

~~~ini
[ text.plain,text.html,text.mail ]
theme = "3A9E8876-6DBD-4696-871F-95D340F8BA27"
~~~

As you can see, you need to provide the UUID for the theme, not the 
name.

-- 
Rob McBroom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20190823/c33c5c9b/attachment.html>


More information about the TextMate mailing list