-
Notifications
You must be signed in to change notification settings - Fork 153
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 doesn't work well for Ruby #78
Comments
@hauleth that looks good. I think the font should not attempt to interpret the characters or imply a meaning. It should merely make them look a bit nicer, IMO. |
Alternatively any of them should look like |
Sorry, I don't follow. Do you mean "none of them"? |
I agree with @sos4nt that the font should not attempt to interpret the characters or imply a meaning. I personally would be confused to see On the other hand, Nifty |
It's obvious that having a single font (with ligatures) for all languages is a problem, and this is yet another example. The ideal situation is multiple font versions, and IDEs and editors that allow setting font per syntax (language). |
@hauleth But FiraCode cannot be used in Haskell, because they break ligature laws substituting |
In Haskell,
/=
is the not-equal operator, so it seems obvious to map it to≠
But in Ruby (and presumably other languages, too),
!=
is the not-equal operator anda /= b
is a shortcut fora = a / b
:Using the current ligature makes the code quite confusing:
I'm not sure how to solve it, but maybe there should be a language-agnostic base font and specialized language fonts.
The text was updated successfully, but these errors were encountered: