import { foldtext } from "https://deno.land/x/denops_std@v4.3.1/option/mod.ts";
An expression which is used to specify the text displayed for a closed
fold. The context is set to the script where 'foldexpr' was set,
script-local items can be accessed. See fold-foldtext
for the
usage.
The expression will be evaluated in the sandbox
if set from a
modeline, see sandbox-option
.
This option cannot be set in a modeline when 'modelineexpr' is off.
It is not allowed to change text or jump to another window while
evaluating 'foldtext' textlock
.
(default: "foldtext()")
not available when compiled without the +folding
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>; }