Skip to main content
Module

x/denops_std/option/mod.ts>foldnestmax

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

Sets the maximum nesting of folds for the "indent" and "syntax" methods. This avoids that too many folds will be created. Using more than 20 doesn't work, because the internal limit is 20.

(default: 20)

not available when compiled without the +folding feature

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>; }