What happened?
The TypeScript syntax marks non-primitive types with the support.class scope, and primitive types (e.g. string) with support.type.primitive. Rust scalars/primitives like u32, char, bool, etc are marked as either storage.type or support.type depending on context, which is the same as any other user/library defined type (Box, Result). It would be helpful to be able to differentiate between the two for syntax highlighting.
What happened?
The TypeScript syntax marks non-primitive types with the
support.classscope, and primitive types (e.g.string) withsupport.type.primitive. Rust scalars/primitives likeu32,char,bool, etc are marked as eitherstorage.typeorsupport.typedepending on context, which is the same as any other user/library defined type (Box,Result). It would be helpful to be able to differentiate between the two for syntax highlighting.