Skip to main content
The Deno 2 Release Candidate is here
Learn more
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@v7.0.0-pre2/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.