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

Incorrect highlighting for C++ special identifiers #58

Open
aladram opened this issue Aug 12, 2021 · 0 comments
Open

Incorrect highlighting for C++ special identifiers #58

aladram opened this issue Aug 12, 2021 · 0 comments

Comments

@aladram
Copy link

aladram commented Aug 12, 2021

C++ identifiers with special meaning (final, override, import and module). are incorrectly highlighted out-of-context. These keywords should be considered as regular identifiers when used out of their special meaning context (c.f. C++20 standard, section 5.10, paragraph 2).

Reproduction:

int final, override, import, module;

Actual: these variables names are incorrectly highlighted as keywords.
Expected: no specific highlighting.

Refers to vim/vim#8745.

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