However the issue is that because of the extension "rust-analyzer", this hijacks my custom text color theme after it has finished performing analyzing.
The problem is that with semantic highlighting, the appropriate token type is just a semantic token string:
(This window can be opened with the Developer: Inspect Editor Tokens and Scopes action.) You can see the overridden custom string.quoted.double.rust rule there at the bottom.
It's worth noting also that editor.semanticTokenColorCustomizations doesn't support per-language configuration, but it does support per-theme configuration.
I asked the other guy on github (and other places) but I wanted to also ask you:
I am thinking that It's probably better if I just modify all the "purple" text to something different rather than me just having to modify individual stuff (such as structs etc) to a different color property.