Skip to main content
Module

x/ddc_vim/deps.ts>fn.funcref

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

Just like |function()|, but the returned Funcref will lookup the function by reference, not by name. This matters when the function {name} is redefined later. Unlike |function()|, {name} must be an existing user function. Also for autoloaded functions. {name} cannot be a builtin function. Can also be used as a |method|: GetFuncname()->funcref([arg])

Parameters

denops: Denops
name: unknown
optional
arglist: unknown
optional
dict: unknown

Returns

Promise<unknown>