Language-specific OpenType Feature Names for Programming Ligatures
Given the fact that in different languages, the symbol combination should be combined into a ligature are different, is it possible to provide a language-specific feature name to distinct them? For example, in C++, >>= should not be combined together, and we can assign a feature XCPP to combine >> only. In Haskell, >>= should be combined, and feature XHS_ will be applied. The default calt can be restricted to "most-common" languages only.
cf. tonsky/FiraCode#192, atom/atom#11846, Microsoft/vscode#6918, chrissimpkins/Hack#211, larsenwork/monoid#155
@be5invis cool idea, I'm not sure editor support is there yet but please enlighten me if they are
@larsenwork I've experimented a CSS patch to VSCode and it works well:
The style delta is
token.haskell{ font-feature-settings: "XHS_" 1 }