Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ligature Font operator? #16

Open
kevinkashou opened this issue Feb 21, 2018 · 5 comments
Open

Ligature Font operator? #16

kevinkashou opened this issue Feb 21, 2018 · 5 comments

Comments

@kevinkashou
Copy link

Are you guys going to have the Operator font ligature support in your theme anytime soon?

@vladmoroz
Copy link

@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

@kevinkashou
Copy link
Author

@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.

@vladmoroz
Copy link

@kkashou can you give an example of a theme like that? Not sure what you mean, ligatures work with this theme just fine.

@kevinkashou
Copy link
Author

https://marketplace.visualstudio.com/items?itemName=sldobri.daily

That theme Has an example of what I mean.

@R3V1Z3
Copy link

R3V1Z3 commented May 21, 2018

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:
microsoft/vscode#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:
rainglow-laracasts-italics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants