television_utils::syntax

Function compute_highlights_incremental

Source
pub fn compute_highlights_incremental(
    file_path: &Path,
    lines: &[String],
    syntax_set: &SyntaxSet,
    syntax_theme: &Theme,
    _cached_lines: &Option<HighlightedLines>,
) -> Result<HighlightedLines>