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

Curt Sellmer sellmerfud at gmail.com
Thu Oct 3 13:33:51 UTC 2019


On Thu, Oct 3, 2019 at 3:18 AM Umberto Cerrato <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
>

In the Grammer field enter: source.c,source.c++
That will restrict your grammer to only those languages.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20191003/bc19408e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.png
Type: image/png
Size: 31521 bytes
Desc: not available
URL: <https://lists.macromates.com/textmate/attachments/20191003/bc19408e/attachment-0001.png>


More information about the TextMate mailing list