Closed be5invis closed 7 years ago
We are not using ligatures at all in Hack. Can you provide more details about how this would apply here?
You might check out this fork that supports programming ligatures: https://github.com/ignatov/Haack/
cc: @ignatov
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 featureXCPP
to combine>>
only. In Haskell,>>=
should be combined, and featureXHS_
will be applied. The defaultcalt
can be restricted to "most-common" languages only. cf. tonsky/FiraCode#192, atom/atom#11846, Microsoft/vscode#6918, chrissimpkins/Hack#211, larsenwork/monoid#155