Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>op.foldminlines

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
variable op.foldminlines
import { op } from "https://deno.land/x/ddc_vim@v3.8.0/deps.ts";
const { foldminlines } = op;

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>