Skip to content

VimApi.setOption method

VimApi › setOption

Unofficial

Set the value of a Vim option.

Signature:

setOption(name: string, value: unknown, cm?: VimEditor | undefined, cfg?: object | undefined): void

Parameters:

Parameter Type Description
name string The name of the option.
value unknown The value to set.
cm? VimEditor | undefined The editor instance.
cfg? object | undefined The configuration object.

Returns: void