Skip to main content
Module

x/denops_std/option/mod.ts>tagfunc

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

This option specifies a function to be used to perform tag searches. The function gets the tag pattern and should return a List of matching tags. See tag-function for an explanation of how to write the function and an example. The value can be the name of a function, a lambda or a Funcref. See option-value-function for more information.

(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>; getBuffer(denops: Denops, bufnr: number): Promise<string>; setBuffer(
denops: Denops,
bufnr: number,
value: string,
): Promise<void>; getWindow(denops: Denops, winnr: number): Promise<string>; setWindow(
denops: Denops,
winnr: number,
value: string,
): Promise<void>; }