Skip to main content
Module

x/denops_std/option/mod.ts>wrapmargin

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

Number of characters from the right window border where wrapping starts. When typing text beyond this limit, an <EOL> will be inserted and inserting continues on the next line. Options that add a margin, such as 'number' and 'foldcolumn', cause the text width to be further reduced. This is Vi compatible. When 'textwidth' is non-zero, this option is not used. This option is set to 0 when 'paste' is set and restored when 'paste' is reset. See also 'formatoptions' and ins-textwidth.

(default 0)

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