Skip to content

VimSearchState.setOverlay method

VimSearchState › setOverlay

Unofficial

Set the overlay highlighting the current query's matches.

Signature:

setOverlay(overlay: VimSearchOverlay | null): void

Parameters:

ParameterTypeDescription
overlayVimSearchOverlay | nullThe overlay to install, or null to clear it.

Returns: void