sublime-cpp11
sublime-cpp11 copied to clipboard
Inheritance
When inheriting from another class, the inheritance specification is not highlighted:
struct A : private B { private: void c(); };
Expected result: Both private specifiers are highlighted. Possibly B is highlighted the same as A, as it must be a class name.
Actual result: The first private is not highlighted (the second is) and B is not highlighted either.
:+1:
The latter B should have the scope: entity.other.inherited-class. The entire section post the : should have a meta scope. The private should have the same scope as otherwise.