The change in #21 lost colouring on void in type args (since it needs special handling for types that start with lowercase letters) because it wasn't previously included (and was coloured by regex that wasn't specific to the type args):
// Before this change
// With this change (which matches the behaviour before #21)
For this syntax, void is coloured like a built-in rather than a class name (although with semantic tokens, it has a modifier so that can be overridden by users/editors if they choose).
The change in #21 lost colouring on
void
in type args (since it needs special handling for types that start with lowercase letters) because it wasn't previously included (and was coloured by regex that wasn't specific to the type args):// Before this change
// With this change (which matches the behaviour before #21)
For this syntax,
void
is coloured like a built-in rather than a class name (although with semantic tokens, it has a modifier so that can be overridden by users/editors if they choose).@devoncarew