Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denops_std/option/types.ts>Option

📚 Standard module for denops.vim
Latest
interface Option
import { type Option } from "https://deno.land/x/denops_std@v6.5.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.