You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this tool to ligaturize Operator Mono SSm. It spit out a bunch of .otf files that were installed and validated without issues.
In VSCode, I have no issue setting the overall font-family to "Operator Mono SSm Lig" or "Operator Mono SSm Lig Book" or "Operator Mono SSm Lig Bold." Changing the document-wide text works as expected. However, in my token color customizations, only "italic" and "bold italic" are working with this font.
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment", // all comment types
"storage", // static, extends, async, private, public, implements, constructor, const, let, var, enum, class, function, interface
// no explicit scopes for constructor, const, let, var also no explicit scope for function without the arrow
// therefore we enable all storage and explictly exclude the arrow in another scope
"constant.language", // true, false, null
"keyword.control", // import, from, export, default, return, if, for, break, continue, try, catch, finally, throw, default, yield, await
"keyword.operator.expression", // in, void, delete, instanceof
"keyword.other", // debugger
"keyword.operator.new", // new
"variable.language", // super, this, arguments
"entity.other.attribute-name", // attributes in html, jsx, etc.
"entity.name.type.class", //class names
],
"settings": {
"fontStyle": "italic"
}
},
{
"scope": [
"entity.name.function", // function names
],
"settings": {
"fontStyle": "bold"
}
},
{
"scope": [
"storage.type.function.arrow"
],
"settings": {
"fontStyle": ""
}
}
]
}
It does seem to work with either "italic" or "bold italic" but it doesn't work with "bold" alone. This is almost definitely an issue with the font itself, as changing my overall font-family makes these textMate rules be followed as expected.
The text was updated successfully, but these errors were encountered:
Hi there,
I used this tool to ligaturize Operator Mono SSm. It spit out a bunch of .otf files that were installed and validated without issues.
In VSCode, I have no issue setting the overall font-family to "Operator Mono SSm Lig" or "Operator Mono SSm Lig Book" or "Operator Mono SSm Lig Bold." Changing the document-wide text works as expected. However, in my token color customizations, only "italic" and "bold italic" are working with this font.
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment", // all comment types
"storage", // static, extends, async, private, public, implements, constructor, const, let, var, enum, class, function, interface
// no explicit scopes for constructor, const, let, var also no explicit scope for function without the arrow
// therefore we enable all storage and explictly exclude the arrow in another scope
"constant.language", // true, false, null
"keyword.control", // import, from, export, default, return, if, for, break, continue, try, catch, finally, throw, default, yield, await
"keyword.operator.expression", // in, void, delete, instanceof
"keyword.other", // debugger
"keyword.operator.new", // new
"variable.language", // super, this, arguments
"entity.other.attribute-name", // attributes in html, jsx, etc.
"entity.name.type.class", //class names
],
"settings": {
"fontStyle": "italic"
}
},
{
"scope": [
"entity.name.function", // function names
],
"settings": {
"fontStyle": "bold"
}
},
{
"scope": [
"storage.type.function.arrow"
],
"settings": {
"fontStyle": ""
}
}
]
}
It does seem to work with either "italic" or "bold italic" but it doesn't work with "bold" alone. This is almost definitely an issue with the font itself, as changing my overall font-family makes these textMate rules be followed as expected.
The text was updated successfully, but these errors were encountered: