VimApi.getOption method
VimApi › getOption
Unofficial
Get the value of a Vim option.Signature:
getOption(name: string, cm?: VimEditor | undefined, cfg?: object | undefined): unknownParameters:
| Parameter | Type | Description |
|---|---|---|
| name | string | The name of the option. |
| cm? | VimEditor | undefined | The editor instance. |
| cfg? | object | undefined | The configuration object. |
Returns: unknown — The option value.