Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>nvim_call_dict_function

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_call_dict_function
import { nvim_call_dict_function } from "https://deno.land/x/denops_std@v4.1.4/function/nvim/mod.ts";

Calls a VimL |Dictionary-function| with the given arguments. On execution error: fails with VimL error, updates v:errmsg. Parameters: ~ {dict} Dictionary, or String evaluating to a VimL |self| dict {fn} Name of the function defined on the VimL dict {args} Function arguments packed in an Array Return: ~ Result of the function call

Parameters

denops: Denops
dict: unknown
fn: unknown
args: unknown

Returns

Promise<unknown>