Open kevinkashou opened 6 years ago
@kkashou I'm not sure VS Code themes have anything to do with font ligature support.
You enable ligatures in your VS Code settings if you are using a font that supports them:
"editor.fontLigatures": true
@vladmoroz I have that settings on but there are some themes in their css that give the support for ligature. That's why I was wondering.
@kkashou can you give an example of a theme like that? Not sure what you mean, ligatures work with this theme just fine.
https://marketplace.visualstudio.com/items?itemName=sldobri.daily
That theme Has an example of what I mean.
I use Fira Code and the ligatures render fine with these themes. The Fantastic theme set makes use of italics, is that maybe what you had in mind @kkashou ?
If so, you can actually add italic support through user settings in VS Code (F1 -> Preferences: Open user settings) by adding rules like so:
"editor.tokenColorCustomizations": { "textMateRules": [ { "scope": [ "comment", ], "settings": { "fontStyle": "italic", } } ] }
For reference, there's a discussion here about disabling italics support: https://github.com/Microsoft/vscode/issues/32579
As an aside, for those who can't afford the Operator font, there's this mashup of the free Fira Code and Script12 fonts: https://github.com/kencrocken/FiraCodeiScript
Example using the above snippet with Rainglow Laracasts:
Are you guys going to have the Operator font ligature support in your theme anytime soon?