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

issues with ligature -> #1049

Closed
hanickadot opened this issue May 21, 2020 · 5 comments
Closed

issues with ligature -> #1049

hanickadot opened this issue May 21, 2020 · 5 comments
Labels
Milestone

Comments

@hanickadot
Copy link

hanickadot commented May 21, 2020

Ligature -> is not working if it's next to [a-z] character. It's working correctly with a number, other arrow ligatures (=>) are not impacted.

Screenshot 2020-05-21 at 12 30 29

I'm having the latest release (4)

@tonsky
Copy link
Owner

tonsky commented May 21, 2020

This is probably your editor interfering, splitting - and > into separate tokens. https://github.com/tonsky/FiraCode/wiki/Troubleshooting#some-ligatures-work-while-some-dont

Try reporting it to the editor author or to the person responsible for language grammar for your editor.

@hanickadot
Copy link
Author

The screenshot is from MacOS Font Book, I tried TextEdit and TextMate. All with same result.

@hanickadot
Copy link
Author

I just tried iPhone with woff and Chrome with same result:
Screenshot 2020-05-21 at 22 14 02
IMG_2093

(I added a textarea into the example html page)

@tonsky
Copy link
Owner

tonsky commented May 21, 2020

Thanks, I’ve been able to reproduce it. I even think I know what the problem is. Will fix!

@tonsky tonsky added the bug label May 21, 2020
@asimenio-asteri
Copy link

Same happens to me in vscode when i try a->b. a ->b works as does a -> b, as long as it starts as a-> it doesn't work

@tonsky tonsky added this to the 5 milestone Jun 5, 2020
@tonsky tonsky closed this as completed in 35d2418 Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants