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

Some ligatures render in VSCode as a single letter stop #115

Closed
iansan5653 opened this issue Nov 14, 2023 · 3 comments
Closed

Some ligatures render in VSCode as a single letter stop #115

iansan5653 opened this issue Nov 14, 2023 · 3 comments
Milestone

Comments

@iansan5653
Copy link

Please forgive my ignorance in describing this issue. I am not very familiar with font tech and I'm not even 100% sure this is a Monaspace bug and not a VSCode bug. But I think it's Monaspace because it doesn't happen with other fonts.

The problem is that some ligatures (I've noticed -> and =>) register in VSCode as a single big character. This means the cursor can't go in the middle of them, resulting in a very confusing typing experience where the active cursor jumps around:

Screen.Recording.2023-11-14.at.1.31.18.PM.mov

Strangely, this doesn't always happen, like when I'm in a comment:

Screen.Recording.2023-11-14.at.1.32.27.PM.mov
@iansan5653
Copy link
Author

I noticed this also happens with </> which is super confusing when closing JSX, particularly since it's three characters long:

Screen.Recording.2023-11-14.at.1.39.24.PM.mov

@Finii
Copy link
Contributor

Finii commented Nov 17, 2023

This is one result to the way the ligatures are formulated, see bottom part of #132 for an explanation.

@idan idan added this to the 1.1 milestone May 1, 2024
@idan
Copy link
Contributor

idan commented May 3, 2024

Fixed in ca8015b

@idan idan closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants