Skip to main content
Module

x/denops_std/option/mod.ts>foldenable

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

When off, all folds are open. This option can be used to quickly switch between showing all text unfolded and viewing the text with folds (including manually opened or closed folds). It can be toggled with the zi command. The 'foldcolumn' will remain blank when 'foldenable' is off. This option is set by commands that create a new fold or close a fold. See folding.

(default on)

not available when compiled without the +folding feature

type

{ get(denops: Denops): Promise<boolean>; set(denops: Denops, value: boolean): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<boolean>; setLocal(denops: Denops, value: boolean): Promise<void>; resetLocal(denops: Denops): Promise<void>; }