The Victor Mono font family supplies distinct oblique and italics font faces. I would like to use Italics for the comment.block.documentation scope, and Oblique for other comment scopes. However, the obvious settings.json section:
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "Documentation",
"scope": "comment.block.documentation",
"settings": { "fontStyle": "italic" }
},
{
"name": "Comment",
"scope": "comment",
"settings": { "fontStyle": "oblique" }
},
]
}
does not work, because the rendering engine seems to interpret "oblique" and "italics" as "whichever of oblique or italics is provided in the last font file to be loaded that provides either.