Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@v5.2.0/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>