better-cpp-syntax
better-cpp-syntax copied to clipboard
Templated friend declarion with qualified type breaks highlighting until next semicolon
Checklist
- [x] This problem exists even with the setting
"C_Cpp.enhancedColorization": "Disabled" - [ ] This bug exists for C
- [x] This bug exists for C++
- [ ] This bug exists for Objective-C
- [ ] This bug exists for Objective-C++
The code with a problem is:
class A {
template <class>
friend class B::C;
template <class>
friend class B::D;
};
It looks like:
It should look like:
template one line 4 should have the scope storage.type.template.cpp
This only happens when the friend declataion is qualified