Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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.4.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.