Skip to main content
Module

x/denops_std/option/mod.ts>thesaurusfunc

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

This option specifies a function to be used for thesaurus completion with CTRL-X CTRL-T. i_CTRL-X_CTRL-T See compl-thesaurusfunc. 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>; getGlobal(denops: Denops): Promise<string>; setGlobal(denops: Denops, value: string): Promise<void>; resetGlobal(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<string>; setLocal(denops: Denops, value: string): Promise<void>; resetLocal(denops: Denops): Promise<void>; }