[TxMt] Re: Make a Bundle available only for a programming language

Umberto Cerrato umbertocerrato at outlook.it
Thu Oct 3 16:09:06 UTC 2019


Thank you guys,

Eventually this worked for me:
So basically just changing the Injection Selector did the work.

About the theme. I think it is not possible to limit itself to a single source. Anyway it is not a problem since I specifically use it only for C and C++. My main theme is another one.

Thanks

Best,
-u

[cid:5AFD6FF2-D08A-495A-BC39-4EECD5337FA4 at home-life.hub]
Il giorno 3 ott 2019, alle ore 17:29, Kyle Kirbatski <kyle.kirby at me.com<mailto:kyle.kirby at me.com>> ha scritto:

In the Scope Selector text box put:

source.c++,source.c

On Oct 3, 2019, at 3:18 AM, Umberto Cerrato <umbertocerrato at outlook.it<mailto:umbertocerrato at outlook.it>> wrote:

Hello there,

I would like to make my bundle (grammar and theme) to work for C and C++ sources only. How can I achieve it?
This is my actual Grammar configuration, but I would need to restrict the theme to C and C++  too (Since my custom changes are not good for other source files too).

Best
<1.png>

_______________________________________________
TextMate mailing list
TextMate at lists.macromates.com<mailto:TextMate at lists.macromates.com>
https://lists.macromates.com/listinfo/textmate


_______________________________________________
TextMate mailing list
TextMate at lists.macromates.com<mailto:TextMate at lists.macromates.com>
https://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20191003/667271d7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: selectors.png
Type: image/png
Size: 8267 bytes
Desc: selectors.png
URL: <https://lists.macromates.com/textmate/attachments/20191003/667271d7/attachment.png>


More information about the TextMate mailing list