Sublime Forum

How to define Color Scheme colors to *.tmLanaguge syntax def

#1

I installed the textmate “csharp-tmbundle” for it’s C#.tmLanguage file. However, I didn’t see any change in how my code looks. I’m guessing maybe it’s because I still need to define specific colors for each item in C#.tmLanguage? I already looked at http://docs.sublimetext.info/en/latest/reference/syntaxdefs.html; however, there’s no mention of defining colors.

Thanks in advance,
MKANET

0 Likes

#2

Colors are done in your tmTheme file. The syntax file defines the scopes, then the tmTheme file colors the scopes.

0 Likes