Skip to content

HighlightingPluginOptions

HighlightingPluginOptions = object

readonly optional name?: string


readonly optional service?: HighlightingService

Borrowed: the plugin never disposes it. Omitted, each activation owns a service of its own.


readonly optional theme?: HighlightingThemeSelection | HighlightingThemeSource

Defaults to the editor’s own palette, colored by Tree-sitter captures.