- Install Package Resource Viewer.
- In package control window select ‘Package Resource Viewer: Open Resource’.
- Scroll down until you find the option: ‘Color Scheme — Default’ (or your theme with color scheme .tmTheme) and select it.
- Add the following
<!-- Operator Tweaks -->
<dict>
<key>name</key>
<string>Italic HTML attribute names</string>
<key>scope</key>
<string>
, entity.other.attribute-name.html,
, entity.other.attribute-name.event.html,
, entity.other.attribute-name.id.html,
, entity.other.attribute-name.class.html,
, entity.other.attribute-name.tag.jade,
, entity.other.attribute-name.tag.pug,
, constant.other.symbol.ruby,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#ffc600</string>
<key>fontStyle</key>
<string>italic</string>
</dict>
</dict>
<!-- End Operator Tweaks -->
For those wondering, you need to install
package resource viewer
first. ThenCMD + Shift + P
then selectPackageResourceViewer: Open Package
.Select the theme you will be using.
If it doesn't open immediately select the one with
.tmTheme
file extension.Add the given snippet above near the bottom inside the tag
Hope this helps!