Documentation
¶
Overview ¶
Package highlight provides Chroma-based syntax highlighting for the editor It tokenizes document text and maps Chroma token types to terminal styles
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultStyle ¶
DefaultStyle returns the fallback ANSI style for a scope name when no theme is active or the theme does not define the scope
func NormalizeNewlines ¶
NormalizeNewlines replaces \r\n with \n for consistent tokenization
Types ¶
Click to show internal directories.
Click to hide internal directories.