Skip to main content

opentui_rust/highlight/
mod.rs

1//! Syntax highlighting and style management.
2
3pub mod highlighted_buffer;
4pub mod languages;
5mod syntax;
6pub mod theme;
7pub mod token;
8pub mod tokenizer;
9
10pub use highlighted_buffer::HighlightedBuffer;
11pub use syntax::{SyntaxStyle, SyntaxStyleRegistry};
12pub use theme::{Theme, ThemeRegistry};
13pub use token::{Token, TokenKind, TokenSpan};
14pub use tokenizer::{
15    CommentKind, HeredocKind, LineState, StringKind, Tokenizer, TokenizerRegistry,
16};
17
18#[cfg(test)]
19mod tests;