[TxMt] Re: Theme preference for file type

John DeSoi desoi at pgedit.com
Wed Jun 17 02:35:44 UTC 2020



> On Jun 10, 2020, at 6:54 AM, Rob McBroom <mailinglist0 at skurfer.com> wrote:
> 
> On 9 Jun 2020, at 21:52, John DeSoi wrote:
> 
> Is there a way to have a file type automatically use a different theme that is not the default one?
> 
> Yes. I have this in ~/.tm_properties:
> 
> [ text.plain,text.html,text.mail ]
> theme = "3A9E8876-6DBD-4696-871F-95D340F8BA27"
> 
> As you can see, you need to use the theme’s UUID.

Works great, thank you.


> 
> If I create a language bundle and include a theme, is there a setting to make the language files default to the theme included with the bundle?
> 
> I can’t answer that one.
> 

Not a big deal, but would be nice to have. I'm working on a bundle for 4D which comes with an IDE and default syntax coloring. It would be nice to match the default theme to those settings for 4D's source files.

John DeSoi, Ph.D.



More information about the TextMate mailing list