recursive icon indicating copy to clipboard operation
recursive copied to clipboard

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

Open ghost opened this issue 4 years ago • 6 comments

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.

ghost avatar Feb 06 '21 01:02 ghost

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?

arrowtype avatar Feb 06 '21 01:02 arrowtype

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.

enriqueMartinezInter avatar Feb 06 '21 02:02 enriqueMartinezInter

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 avatar Feb 06 '21 23:02 arrowtype

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.

enriqueMartinezInter avatar Feb 06 '21 23:02 enriqueMartinezInter

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

arrowtype avatar Feb 16 '21 15:02 arrowtype