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


Il giorno 3 ott 2019, alle ore 17:29, Kyle Kirbatski <kyle.kirby@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@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@lists.macromates.com
https://lists.macromates.com/listinfo/textmate


_______________________________________________
TextMate mailing list
TextMate@lists.macromates.com
https://lists.macromates.com/listinfo/textmate