SUGGESTION & REQUEST: Make a stylistic set of an underscore that negates the effect of the ligatures
So, in Fira Code with ligatures off, neither equal signs nor underscores connect.
With ligatures on, both connect.
With the stylistic set ss08, I can make the equal signs separated
However, I don't see a set that does the same for underscores, which I assume is, because that doesn't exist.
This is a suggestion / request for that feature.
Thank you for your time!
Oh, and what I called stylistic sets are the special ligatures called stylistic sets: https://github.com/tonsky/FiraCode/wiki/How-to-enable-stylistic-sets
Thanks, I’ll look into it
Me too, the ligatures make it difficult to see when using python where there is something like __main__.
Ligatures can also be suppressed or forced independently of liga on or off. This would also be compatible across fonts, which implement it this way.
Suppress is the simpler case: insert a ZWNJ
U+200C ‌ ZERO WIDTH NON-JOINER (Format)
Then the ligature rule c, k will not match, because the text sequence is c, ZWNJ, k. No extra support necessary in the font.
Forcing can be done by inserting ZWJ
U+200D ‍ ZERO WIDTH JOINER (Format)
This needs support by the ligature rules in the font.
Of course the user needs some way to enter ZWNJ and ZWJ. If needed often, customise your key mapping and place them e.g. into the