Skip to main content
Module

x/denops_std/option/types.ts>Option

📚 Standard module for denops.vim
Go to Latest
interface Option
import { type Option } from "https://deno.land/x/denops_std@v6.4.0/option/types.ts";

An option that can be retrieved and modified.

Type Parameters

T

The type of the option value.

Methods

get(denops: Denops): Promise<T>

Gets the value of the option.

set(denops: Denops, value: T): Promise<void>

Sets the value of the option.

reset(denops: Denops): Promise<void>

Resets the value of the option to its default value.