Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language-specific ligatures #3

Open
3 tasks
marnen opened this issue Jan 22, 2016 · 1 comment
Open
3 tasks

Language-specific ligatures #3

marnen opened this issue Jan 22, 2016 · 1 comment

Comments

@marnen
Copy link
Owner

marnen commented Jan 22, 2016

Some characters shouldn't always ligate. We should probably have separate OpenType features to control language-specific behavior.

Erlang

  • => isn't an arrow; rather, it's a comparison operator. It should either not ligate or (perhaps) look more like .

Haskell

  • /= means 'not equal'. Should its ligature look more like if Haskell mode is enabled?

HTML/XML

  • --> isn't an arrow; it closes a comment. (But we could still handle it like Monoid does and just make a corresponding <!-- ligature.)

More as I think of it, or as I receive comments from others...

@marnen
Copy link
Owner Author

marnen commented Jan 27, 2016

See also #6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant