-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
For some reason, -> is not working in Atom. #63
Comments
Try with plaintext (without a syntax highlighter). |
Also works for me. Did you add: atom-text-editor {
text-rendering: optimizeLegibility;
} to your |
Yes. |
Ok, while working on some language grammars, I discovered something that might be at the root of your problem: the ligatures only capture if the underlying html span element contains both characters to be ligaturized. Some language grammars fail to fully capture multi-char operators instead choosing to allow a big list of operator characters to capture them. This means that, to the editor, it's actually a |
@MadcapJake ah yeah it looks exactly like that. |
I added a commit to PR atom/language-ruby#113 which will address this issue (for Ruby at least). If there are other languages which need it, let me know and I can try to add it to them too (though I must admit I'm mostly familiar with Ruby grammar) |
Awesome, I think I'll close this issue now since it's obviously not a problem with FiraCode but the Ruby syntax definition. |
I found that |
I can't seem to see any ligatures in php files, although I do see a limited set in javascript files |
Create the CHANGELOG with a rake task to generate it automatically
Any ideas what I'm doing wrong? '=>' is working fine.
The text was updated successfully, but these errors were encountered: