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
I often use unicode letters in my Coq identifers, to better match what we do on paper. This works fine in Coq, but the syntax highlighting of this extension draws a box around some these characters:
This makes them look like some sort of error, and also makes them hard to read.
In a plain text file these letters look just right, so it seems to be something specific to what VsCoq does in .v files. This seems to be font-independent; I tried two different monospace fonts and they both show this effect.
The text was updated successfully, but these errors were encountered:
RalfJung
changed the title
Syntac highlighting adds an odd box around lower-case unicode letters
Syntax highlighting adds an odd box around lower-case unicode letters
Sep 15, 2024
I don't think this is anything specific to VsCoq, it seems to be because of the editor.unicodeHighlight.ambiguousCharacters setting. When enabled it will highlight any ambiguous unicode characters in all non plaintext/markdown files.
Thanks for pointing that out! That helps indeed. :) I have no clue why vscode thinks σ could be confused with another charcacter (but, say, Λ could not)... but now I can at least disabled this behavior.
I often use unicode letters in my Coq identifers, to better match what we do on paper. This works fine in Coq, but the syntax highlighting of this extension draws a box around some these characters:
This makes them look like some sort of error, and also makes them hard to read.
In a plain text file these letters look just right, so it seems to be something specific to what VsCoq does in
.v
files. This seems to be font-independent; I tried two different monospace fonts and they both show this effect.The text was updated successfully, but these errors were encountered: