Skip to main content
Module

x/denops_std/option/mod.ts>foldmethod

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

The kind of folding used for the current window. Possible values: fold-manual manual Folds are created manually. fold-indent indent Lines with equal indent form a fold. fold-expr expr 'foldexpr' gives the fold level of a line. fold-marker marker Markers are used to specify folds. fold-syntax syntax Syntax highlighting items specify folds. fold-diff diff Fold text that is not changed.

(default: "manual")

not available when compiled without the +folding feature

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