githubnext / githubnext/monaspace
Certain ligatures after keyword tokens render with incorrect cursor position in VSCode
- Dominant language
- Shell
- Stars
- 19.6k
- Forks
- 322
- PR merge metrics
- No merged PRs in 30d
Description
OS: Linux
Using VSCode, with Monaspace Neon and `"editor.fontLigatures": "'calt', 'liga', 'ss01', 'ss02', 'ss03','ss04', 'ss05', 'ss06', 'ss07', 'ss08', 'ss09'"`, the <> ligature, along with a few others, behave oddly when typed after a keyword in javascript.
When by itself, it works fine. I can back arrow into it and the cursor visually shows up inside it.
However, when it is on a line after a keyword, it behaves oddly. Visually, the cursor is here `<>|`, but it is actually here `<|>`.
I did not move the cursors between those two images, i simply typed the letter "e"
The same thing happens with the `==>, >=, <=` and potentially others.
It may be related to syntax highlighting. It doesn't happen with plain text, and doesn't happen unless after a keyword.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.