Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Ligatures not displaying properly #61

Closed
siganos opened this issue Nov 26, 2015 · 2 comments
Closed

Ligatures not displaying properly #61

siganos opened this issue Nov 26, 2015 · 2 comments

Comments

@siganos
Copy link

siganos commented Nov 26, 2015

example

When using fonts that support ligatures, the rust grammar breaks them as seen in the figure above. The ligature appear correctly only in the comment section. If i select Plain Text, the ligatures appear correctly in both cases.

This is an issue in other languages also (for example ruby), you can check the discussion in
tonsky/FiraCode#63
and the solution
atom/language-ruby#117

It should have an easy fix, by adding something like the following before the operators match
{
'match': '->|=>'
'name': 'keyword.operator.rust'
}

Not sure though if this is the best way to address the issue

@Victorystick
Copy link

This should be fixed by #59.

@siganos
Copy link
Author

siganos commented Nov 26, 2015

You are correct, it is basically the same issue.

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

No branches or pull requests

3 participants