import { type Denops } from "https://deno.land/x/ddc_vim@v3.7.0/deps.ts";
Denpos is a facade instance visible from each denops plugins.
Methods
Redraw text and cursor on Vim.
It's not equivalent to redraw
command on Vim script and does nothing on Neovim.
Use denops.cmd('redraw')
instead if you need to execute redraw
command.
Call an arbitrary function of Vim/Neovim and return the result
Call arbitrary functions of Vim/Neovim sequentially without redraw and return the results.
It throw a BatchError when one of a function fails. The results
attribute
of the error instance holds succeeded results of functions prior to the
error.
Execute an arbitrary command of Vim/Neovim under a given context.
Evaluate an arbitrary expression of Vim/Neovim under a given context and return the result.