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@v5.2.0/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