oxicode_vtui/tui/ui/
syntax_highlight.rs1use ratatui::text::Line;
2
3pub struct SyntaxHighlighter;
4impl SyntaxHighlighter {
5 pub fn highlight_lines(&self, _code: &str, _language: &str) -> Vec<Line<'static>> {
6 vec![]
7 }
8}
9
10pub fn highlight_line_to_anstyle_segments(
11 _line: &str,
12 _lang: &str,
13) -> Vec<(anstyle::Style, String)> {
14 vec![]
15}
16
17pub fn get_active_syntax_theme() -> anstyle::Style {
18 anstyle::Style::default()
19}
20pub fn find_syntax_by_token(_token: &str) -> Option<&'static syntect::parsing::SyntaxReference> {
21 None
22}