Closed bbatliner closed 3 years ago
Hi @bbatliner , It's the same situation as in #23 . I will try to fix this, but it may take some time.
__attribute__
correctly highlights for functions and doesn't corrupt the tree. I'm seeing the same issue for structs, however.
Is this the intended behavior for now?
You are right. As I posted in #23 :
throw
andvirtual
have been fixed indeed. But highlighting of structs with__attribute__
is still corrupted, it became slightly better though. It seems, that attributes are fixed only for functions in tree-sitter-cpp. So let's leave #21 open for a while. I'll try to ask tree-sitter-cpp developers to fix this issues.
But I was wrong, that it became slightly better =).
So we are waiting until __attribute__
is fixed in tree-sitter-cpp for structs.
There seem to be some inconsistencies that appear when
__attribute__
is used on a struct:The
static
modifiers are highlighted differently - do you know why?