Skip to main content
Module

x/denops_std/option/mod.ts>operatorfunc

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

This option specifies a function to be called by the |g@| operator. See |:map-operator| for more info and an example. The value can be the name of a function, a |lambda| or a |Funcref|. See |option-value-function| for more information.

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>; }