Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v6.4.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>