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 | undefinedParameters:
| Parameter | Type | Description |
|---|---|---|
| stream | Cm5StringStream | The stream positioned at the text being styled. |
Returns: string | undefined — The style name for the consumed text, or undefined when it is left unstyled.