C++ Syntax Highlighting Isn't Correct #43310
jeanersten
started this conversation in
Language Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think I found a bug in the C++ syntax highlighting, in the first scenario: CORVUS_API is a macro defined somewhere in a header file, but it gets parsed as class, in the second scenario, which I don't know if it is a bug or it is meant to be that way, if a word is in all caps, in that case inside enum class (i also tried for variable) it will be highlighted differently. It might be to indicate constants, but I found it a bit weird.. I'm wondering how the parser works under the hood, in Neovim, the parser is in form of dynamic libraries, but I can't find any treesitter DLL for C++.
Beta Was this translation helpful? Give feedback.
All reactions