Skip to main content

Module code

Module code 

Source
Expand description

Syntax colours for code from GPUI Kit’s active highlight theme. The GitHub diff view uses it.

Functions§

language
The grammar for a path, by its extension or name; None for plain text.
line_runs
Style runs per line of texts, parsed as one text.

Type Aliases§

Runs
Style runs of one displayed line, byte ranges in its text.