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

(* ligature causes wrong bracket-pair colorization for C/C++ #699

Open
mhoumann opened this issue Sep 28, 2023 · 1 comment
Open

(* ligature causes wrong bracket-pair colorization for C/C++ #699

mhoumann opened this issue Sep 28, 2023 · 1 comment

Comments

@mhoumann
Copy link

Cascadia family version

2111.01

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

I don't know

Platform

Windows

Other Software

VS Code 1.82
Visual Studio 2022 17.7

What happened?

(* ligature causes editor bracket-pair colorization to break in certain cases in C/C++
Using pointer deref in parentheses, e.g., in a function call causes the * to be colored same as open parenthesis (

const wchar_t** pp = ...;
wprintf(*);
image

Same issue in both VS Code and Visual Studio 2022

@mhoumann mhoumann changed the title (* ligature causes wrong bracket-pair colorization for C/C++ '(*' ligature causes wrong bracket-pair colorization for C/C++ Sep 28, 2023
@mhoumann mhoumann changed the title '(*' ligature causes wrong bracket-pair colorization for C/C++ (* ligature causes wrong bracket-pair colorization for C/C++ Sep 28, 2023
@Badaxis
Copy link

Badaxis commented Jan 27, 2024

Similar to #443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants