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_function

📚 Standard module for denops.vim
Go to Latest
function nvim_call_function
import { nvim_call_function } from "https://deno.land/x/denops_std@v5.1.0/function/nvim/mod.ts";

Calls a VimL function with the given arguments.

On execution error: fails with VimL error, updates v:errmsg.

Parameters: {fn} Function to call {args} Function arguments packed in an Array

Return: Result of the function call

Parameters

denops: Denops
fn: unknown
args: unknown

Returns

Promise<unknown>