Skip to content

VimSearchOverlay.token method

VimSearchOverlay › token

Unofficial

Advance the stream past the next chunk of text and name the style it should be drawn in.

Signature:

token(stream: Cm5StringStream): string | undefined

Parameters:

ParameterTypeDescription
streamCm5StringStreamThe stream positioned at the text being styled.

Returns: string | undefinedThe style name for the consumed text, or undefined when it is left unstyled.