Skip to main content

Crate neco_syntax_textmate

Crate neco_syntax_textmate 

Source

Structs§

GrammarSet
Owns the loaded grammar set used to resolve languages and build highlighters.
SyntaxHighlighter
Tokenizes lines for one language while preserving multi-line parse state.
TokenSpan
Describes one byte range and its token kind within a single input line.

Enums§

GrammarLoadError
Reports why loading an external grammar file failed.
TokenKind
Classifies a token span into a stable highlighting category.

Functions§

scope_to_token_kind
Maps a TextMate scope string to the closest supported TokenKind.