gpui-component/crates/ui/src/highlighter/mod.rs
Sunli 34b570cd8f
text_view: Refactor TextView, SyntaxHighlighter to use async to parsing. (#1299)
1. Parse content in the background thread  
2. Remove unnecessary clones  
3. `TextViewStyle` and `LanguageRegistry` can now be used across threads
2025-09-29 14:04:24 +08:00

9 lines
155 B
Rust

mod diagnostics;
mod highlighter;
mod languages;
mod registry;
pub use diagnostics::*;
pub use highlighter::*;
pub use languages::*;
pub use registry::*;