Expand description
Tree-sitter syntax highlighting via highlight queries (highlights.scm).
Tree-sitter columns are byte offsets; the editor uses char indices.
Query captures map to TokenKind through crate::highlight::from_capture.
Structs§
Type Aliases§
- HlToken
- One highlight span: (kind, start_col, end_col, row) — char columns, end exclusive.