sminez / ad

an adaptable text editor
https://crates.io/crates/ad-editor
MIT License
243 stars 9 forks source link

Sort out syntax highlighting #5

Open sminez opened 2 months ago

sminez commented 2 months ago

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.