import { omnifunc } from "https://deno.land/x/denops_std@v4.3.1/option/mod.ts";
This option specifies a function to be used for Insert mode omni
completion with CTRL-X CTRL-O. i_CTRL-X_CTRL-O
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 is usually set by a filetype plugin:
:filetype-plugin-on
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>; getBuffer(denops: Denops, bufnr: number): Promise<string>; setBuffer(): Promise<void>; getWindow(denops: Denops, winnr: number): Promise<string>; setWindow(): Promise<void>; }