17 lines
383 B
Rust
17 lines
383 B
Rust
//! Read-only code surfaces for gpui applications: tree-sitter highlighted
|
|
//! code views, one cargo feature per language grammar. A language whose
|
|
//! grammar feature is off renders as plain text.
|
|
|
|
#[cfg(feature = "code_view")]
|
|
pub mod code_view;
|
|
|
|
#[cfg(feature = "diff_view")]
|
|
pub mod diff_view;
|
|
|
|
#[cfg(feature = "markdown_view")]
|
|
pub mod markdown;
|
|
|
|
pub mod highlight;
|
|
|
|
mod utils;
|