Skip to main content
Module

x/denops_core/denops.ts>Denops

🪐 Core module of denops.vim
Go to Latest
type alias Denops
import { type Denops } from "https://deno.land/x/denops_core@v6.0.0/denops.ts";

Denops is a facade instance visible from each denops plugin.

definition: { readonly name: string; readonly meta: Meta; readonly context: Record<PropertyKey, unknown>; dispatcher: Dispatcher; redraw(force?: boolean): Promise<void>; call(fn: string, ...args: unknown[]): Promise<unknown>; batch(...calls: [string, ...unknown[]][]): Promise<unknown[]>; cmd(cmd: string, ctx?: Context): Promise<void>; eval(expr: string, ctx?: Context): Promise<unknown>; dispatch(
name: string,
fn: string,
...args: unknown[],
): Promise<unknown>; }