Skip to main content

enrich_file

Function enrich_file 

Source
pub fn enrich_file(file: &mut FileDiff)
Expand description

Attach intra-line emphasis to one file’s hunks. Pairing is a render-time concern (only the TUI reads .emphasis), so callers enrich the file they are about to display rather than enriching whole models up front.