jeff-hykin / better-cpp-syntax

💾 The source of VS Code's C++ syntax highlighting
GNU General Public License v3.0
155 stars 30 forks source link

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

Open smallSwed opened 1 year ago

smallSwed commented 1 year ago

Checklist

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.