[TxMt] Re: Different Themes based on file type
Umberto Cerrato
umbertocerrato at outlook.it
Thu Oct 3 21:31:42 UTC 2019
Hi,
Eventually I made an XML theme that looks like the one in the old online Android developers portal.
https://2bluebuffalo-en.blogspot.com/2019/10/android-devs-xml-theme-for-textmate-2.html
Il giorno 26 ago 2019, alle ore 13:09, Umberto Cerrato <umbertocerrato at outlook.it<mailto:umbertocerrato at outlook.it>> ha scritto:
:/ I’m sorry.
Yeah
Best
Il giorno 26 ago 2019, alle ore 12:29, Allan Odgaard <mailinglist at textmate.org<mailto:mailinglist at textmate.org>> ha scritto:
On 26 Aug 2019, at 12:13, Umberto Cerrato wrote:
This seems to work too...
[ 'source.*{c, c++, python}' ]
It may seem to work, but it shouldn’t, that is, source.* will match all source documents (as opposed to text.*), the following braces are non-sensical, and the comma will be interpreted as scope selector delimiter.
Either use a file glob or use scope selectors.
For more information about scope selectors I suggest these two resources:
TextMate 1.5.1 manual (but concept is the same for 2.0): https://macromates.com/manual/en/scope_selectors
Blog post: https://macromates.com/blog/2005/introduction-to-scopes/
_______________________________________________
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/1e4cc785/attachment.html>
More information about the TextMate
mailing list