Skip to main content
Module

x/ddc_vim/deps.ts>op.foldtext

Dark deno-powered completion framework for neovim/Vim
Latest
variable op.foldtext
import { op } from "https://deno.land/x/ddc_vim@v4.3.1/deps.ts";
const { foldtext } = op;

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

LocalOption<string>