import { foldmethod } from "https://deno.land/x/denops_std@v4.3.0/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>; getBuffer(denops: Denops, bufnr: number): Promise<string>; setBuffer(): Promise<void>; getWindow(denops: Denops, winnr: number): Promise<string>; setWindow(): Promise<void>; }