Skip to main content
Module

x/denops_std/option/mod.ts>foldclose

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

When set to "all", a fold is closed when the cursor isn't in it and its level is higher than 'foldlevel'. Useful if you want folds to automatically close when moving out of them.

(default "")

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>; getGlobal(denops: Denops): Promise<string>; setGlobal(denops: Denops, value: string): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }