Skip to main content
Module

x/denops_test/denops.ts>DenopsImpl

🌿 Test helper module for denops.vim
Go to Latest
class DenopsImpl
implements Denops
import { DenopsImpl } from "https://deno.land/x/denops_test@v1.6.2/denops.ts";

Constructors

new
DenopsImpl(
name: string,
meta: Meta,
client: Client,
)

Properties

readonly
context: Record<string | number | symbol, unknown>
dispatcher: Dispatcher
readonly
meta: Meta
readonly
name: string

Methods

batch(...calls: [string, ...unknown[]][]): Promise<unknown[]>
call(fn: string, ...args: unknown[]): Promise<unknown>
cmd(cmd: string, ctx?: Context): Promise<void>
dispatch(
name: string,
fn: string,
...args: unknown[],
): Promise<unknown>
eval(expr: string, ctx?: Context): Promise<unknown>
redraw(force?: boolean): Promise<void>