microsoft / cascadia-code

This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
Other
25.16k stars 797 forks source link

Incorrect syntax highlighting in ligatures #558

Closed BonnyAD9 closed 2 years ago

BonnyAD9 commented 2 years ago

With ligatures there may by issues with sintax highlighting when the two characters in a ligature should have different color.

Here is an example where in the *) ligature * should be red and ) should be white. But they are both red. image

aaronbell commented 2 years ago

Unfortunately I don’t think that there is anything I can do to resolve this in the font, except to say turn off ligatures!

Sorry for the trouble.

yvvt0379 commented 2 years ago

@BonnyAD9 it's your editor/IDE's issue, not the font's. What editor/IDE are you using?

BonnyAD9 commented 2 years ago

@BonnyAD9 it's your editor/IDE's issue, not the font's. What editor/IDE are you using?

I'm using VS Code (latest version)