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

Is it possible to add a stylistic set for the double ampersands && when using code ligatures? #437

Open
enriqueMartinezInter opened this issue Feb 6, 2021 · 5 comments
Assignees
Labels
enhancement – planned New feature or request

Comments

@enriqueMartinezInter
Copy link

I love this font so much but I was wondering if a stylistic set can be added when using code ligatures for the double ampersands whether it would be applied or not to those characters when they represent the AND operator.

@arrowtype
Copy link
Owner

Thanks for the kind words!

So, are you thinking of an option to turn off the && ligature when other code ligatures are active? Or, are you looking for something that would turn off the && ligature only when it is used for the and operator?

@enriqueMartinezInter
Copy link
Author

Yes, exactly, an option to turn off the && ligature when other code ligatures are active, so for instance if using dlig and then adding say ss15 would turn that specific ligature off.

@arrowtype
Copy link
Owner

Okay, thanks for clarifying! You’re not the first to ask about it, so I’ll probably try to do this at some point.

Just to fully understand, is your preference because you find the shape of the ligature distracting, or that it is specifically a problem for it to be a ligature? (For example, does a single glyph disrupt syntax theme colors, or come up in other strings, or something else?)

@arrowtype arrowtype added the enhancement – planned New feature or request label Feb 6, 2021
@arrowtype arrowtype self-assigned this Feb 6, 2021
@enriqueMartinezInter
Copy link
Author

Yes, I find it easier to read when both characters are side by side and not as a code ligature, all other code ligatures are great! This is the only one I wish it could be at least optional. Maybe removing it from the ligatures set would be too much to ask :D, but optional would be great.

@arrowtype
Copy link
Owner

Sounds good! I’ll look into it when I have the chance. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement – planned New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants