You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Certain ligatures after keyword tokens render with incorrect cursor position in VSCode #383
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.
Activity
hkan commentedon Sep 18, 2026
I have the exact same issue, but in PhpStorm/IntelliJ.