Skip to main content
Module

x/denops_std/option/mod.ts>foldexpr

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

{not available when compiled without the |+folding| or |+eval| features} The expression used for when 'foldmethod' is "expr". It is evaluated for each line to obtain its fold level. See |fold-expr|.

type

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