Expand description
Style category emitted by the highlighter, plus the capture-name table.
Style and StyledSpan now live in lattice-cells (to break the
lattice-syntax → lattice-mode → lattice-runtime dep cycle).
Re-exported here so all existing lattice_syntax::Style / StyledSpan
call-sites see no change.
Structs§
- Styled
Span - Byte-range span within one source line, carrying a semantic
Style.
Enums§
- Style
- Semantic style category emitted by the tree-sitter highlighter.
Functions§
- capture_
priority - Capture-name priority: position in
CAPTURE_NAMES(lower = higher precedence on overlap). Walks the dot-prefix hierarchy. - name_
to_ style_ pub - Public re-export of the capture-name → Style mapping.
- name_
to_ style_ with_ theme - TK.1: resolve a capture name that names a registered theme element rather than a builtin category.