Skip to main content
Module

x/denops_std/option/mod.ts>foldtext

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

{not available when compiled without the |+folding| feature} 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.

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