Skip to main content
Module

x/denops_std/option/mod.ts>foldminlines

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

{not available when compiled without the |+folding| feature} Sets the number of screen lines above which a fold can be displayed closed. Also for manually closed folds. With the default value of one a fold can only be closed if it takes up two or more screen lines. Set to zero to be able to close folds of just one screen line. Note that this only has an effect on what is displayed. After using "zc" to close a fold, which is displayed open because it's smaller than 'foldminlines', a following "zc" may close a containing fold.

type

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