Skip to main content
Module

x/ddc_vim/deps.ts>fn.call

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.call
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { call } = fn;

Call function {func} with the items in |List| {arglist} as arguments. {func} can either be a |Funcref| or the name of a function. a:firstline and a:lastline are set to the cursor line. Returns the return value of the called function. {dict} is for functions with the "dict" attribute. It will be used to set the local variable "self". |Dictionary-function| Can also be used as a |method|: GetFunc()->call([arg, arg], dict)

Parameters

denops: Denops
func: unknown
arglist: unknown
optional
dict: unknown

Returns

Promise<unknown>