Closed
Description
Describe the bug
'foldmethod'
is "local to window" option.
*'foldmethod'* *'fdm'*
'foldmethod' 'fdm' string (default: "manual")
local to window
{not available when compiled without the |+folding|
feature}
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.
But it is used as "local to buffer" option in the buffer module.
deno-denops-std/buffer/buffer.ts
Line 60 in 016970e
deno-denops-std/buffer/buffer.ts
Line 526 in 016970e
Expected behavior
Use as "local to window" option, or remove it if unnecessary.