Expand description
Whole-file syntax highlighting sliced into per-line styled ranges. Highlighting whole files (not hunks) keeps stateful constructs like multi-line strings correct across hunk boundaries.
Structsยง
- Highlighter
- Styled
Range - Foreground color + style for a byte range of one line.