pub fn highlight_diff(preview: &DiffPreview, context: &ViewContext) -> Vec<Line>Expand description
Render a diff preview with syntax-highlighted context/removed/added lines.
Context lines are shown with a " " prefix and code background.
Removed lines are shown with a " - " prefix and red-tinted background.
Added lines are shown with a " + " prefix and green-tinted background.