Skip to main content
Module

x/denops_std/option/mod.ts>completefunc

📚 Standard module for denops.vim
Go to Latest
variable completefunc
import { completefunc } from "https://deno.land/x/denops_std@v4.1.6/option/mod.ts";

This option specifies a function to be used for Insert mode completion with CTRL-X CTRL-U. i_CTRL-X_CTRL-U See complete-functions for an explanation of how the function is invoked and what it should return. The value can be the name of a function, a lambda or a Funcref. See option-value-function for more information. This option cannot be set from a modeline or in the sandbox, for security reasons.

(default: empty)

not available when compiled without the +eval feature

type

{ get(denops: Denops): Promise<string>; set(denops: Denops, value: string): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<string>; setLocal(denops: Denops, value: string): Promise<void>; resetLocal(denops: Denops): Promise<void>; }