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

C++20 constinit keyword is not highlighted #575

Closed
soroshsabz opened this issue Oct 14, 2021 · 1 comment · Fixed by #576
Closed

C++20 constinit keyword is not highlighted #575

soroshsabz opened this issue Oct 14, 2021 · 1 comment · Fixed by #576

Comments

@soroshsabz
Copy link
Contributor

This is a new keyword in C++20.

Some example usages can be found at https://en.cppreference.com/w/cpp/language/constinit. Currently, none of them are highlighted (scope is just source.cpp).

soroshsabz added a commit to soroshsabz/better-cpp-syntax that referenced this issue Oct 15, 2021
soroshsabz added a commit to soroshsabz/better-cpp-syntax that referenced this issue Oct 15, 2021
@jeff-hykin
Copy link
Owner

jeff-hykin commented Oct 15, 2021

Thanks for linking the docs here. And connecting issues to the old C++2020 issue.

Most of the 2020 features still have not been added. They will get added at some point in the next year but PR's are welcome.

jeff-hykin added a commit that referenced this issue Oct 15, 2021
Add constinit keyword highlighted. (fixes #575)
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

Successfully merging a pull request may close this issue.

2 participants