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

enum not highlighted if followed by type specifier without space between (c++ only) #631

Open
1 task done
smallSwed opened this issue Mar 25, 2023 · 0 comments
Open
1 task done

Comments

@smallSwed
Copy link

smallSwed commented Mar 25, 2023

Checklist

  • This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"

The code with a problem is:

enum:int {
    one = 1,
    two
};

It looks like:

enum
Theme: Dark+ V2 (Dark+ and others)

It should look like:

enum should be highlighted as in the second case on the image.

Note

It's only for C++ with C it works fine.

@smallSwed smallSwed changed the title enum not highlighted if followed by type specifier without space between enum not highlighted if followed by type specifier without space between (c++ only) Mar 25, 2023
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

1 participant