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@v5.1.0/option/mod.ts";

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.

(default: 1)

not available when compiled without the +folding feature

type

LocalOption<number>