Skip to main content
Module

x/ddc_vim/deps.ts>batch

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function batch
import { batch } from "https://deno.land/x/ddc_vim@v0.0.13/deps.ts";

Call denops functions sequentially without redraw and return the results.

It is a wrapper function of denops.batch() to allow users to use function modules, denops.cmd(), denops.eval(), or whatever things which assume a denops instance.

Parameters

denops: Denops
main: (helper: BatchHelper) => Promise<void> | void

Returns

Promise<unknown[]>