The current highlighting is still just a MVP / proof of concept that leaves a lot to be desired. It tries to highlight Rust syntax for all files at the moment and does an alright (but not great) job of doing it. This either needs to be tidied up to make it performant and configurable for different file types or it needs to be replaced with a pre-existing crate that provides syntax highlighting.
The current highlighting is still just a MVP / proof of concept that leaves a lot to be desired. It tries to highlight Rust syntax for all files at the moment and does an alright (but not great) job of doing it. This either needs to be tidied up to make it performant and configurable for different file types or it needs to be replaced with a pre-existing crate that provides syntax highlighting.