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

C++20: consteval and constinit keywords #583

Closed jgcodes2020 closed 2 years ago

jgcodes2020 commented 2 years ago

Checklist

The code with a problem is:

consteval void test_1() {
}
constinit int test_2 {2};

It looks like:

this, with One Dark Pro image

It should look like:

consteval and constinit should be marked as keywords, as GitHub does with the above section.

jgcodes2020 commented 2 years ago

Closing, as this is just a part of #396.