[TxMt] Re: Theme preference for file type

Allan Odgaard mailinglist at textmate.org
Tue Jul 14 09:43:07 UTC 2020


On 17 Jun 2020, at 9:35, John DeSoi wrote:

>> 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?
> 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.

Not currently possible: We do have other types of settings in the 
bundles, and my experience is that the more we “spread things out” 
(i.e. place some settings in some bundles), the more headaches we create 
for users who wants to change the “defaults”.

So better to tell users to add two lines to `~/.tm_properties` than 
change their default theme, if they install the 4D bundle (yes, it would 
only be for 4D files, but it would “break” the _View → Theme_ 
submenu for those files).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20200714/41ebce0a/attachment.html>


More information about the TextMate mailing list