Open be5invis opened 8 years ago
@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 }
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