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.

[ 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