Hi,
I found the Global.tmProperties file. It does work. This is my “configuration”:
[ source.c ] theme = "71D40D9D-AE48-11D9-920A-000D93589AF6" tabSize = 4
However, I didn’t manage to have this configuration to work for other formats too. e.g. [ *.c,*.cpp ] does not work neither do [ source.c, source.cpp ] and [ text.c, text.cpp ]. What am I missing?
Best, u
Il giorno 23 ago 2019, alle ore 15:11, Umberto Cerrato <umbertocerrato@outlook.itmailto:umbertocerrato@outlook.it> ha scritto:
Thank you Rob, I’ll try asap!
Best
Il giorno 23 ago 2019, alle ore 14:14, Rob McBroom <mailinglist0@skurfer.commailto:mailinglist0@skurfer.com> ha scritto:
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
_______________________________________________ TextMate mailing list TextMate@lists.macromates.commailto:TextMate@lists.macromates.com https://lists.macromates.com/listinfo/textmate
_______________________________________________ TextMate mailing list TextMate@lists.macromates.commailto:TextMate@lists.macromates.com https://lists.macromates.com/listinfo/textmate