better-cpp-syntax
better-cpp-syntax copied to clipboard
"using" in "using ::f" is colored like a scope instead of a using directive
Use code
void f();
namespace A {
void g();
}
namespace X {
using ::f;
using A::g;
}
The "using ::f" has a scope of entity.name.scope-resolution.cpp instead of keyword.other.using.directive.
This is not a recent regression.
We'll make sure to get this fixed when the scope resolution is refactored (its been needing it for awhile). Just heads up though, sadly it might be awhile before that happens.