Skip to main content
Module

x/denops_std/option/types.ts>GlobalOption

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

A global option that can be retrieved and modified.

Type Parameters

T

The type of the option value.

Methods

getGlobal(denops: Denops): Promise<T>

Gets the global value of the option.

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

Sets the global value of the option.

resetGlobal(denops: Denops): Promise<void>

Resets the global value of the option to its default value.