Sublime Forum

How to "unbold" text in color scheme

#1

Lets take for an example following code:

<dict> <key>name</key> <string>Keyword</string> <key>scope</key> <string>keyword</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> </dict> </dict> <dict> <key>name</key> <string>Keyword sql</string> <key>scope</key> <string>keyword.other.DML</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <!-- I want to make this keyword NOT BOLD --> </dict> </dict>

I want the “keyword” to be bold, but keyword.other.DML (which inherits “keyword”) to not be bold. Is it possible to “reset” font style? I tried setting it to “normal”, “” (empty string) and it doesn’t work

0 Likes