Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>op.textwidth

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
variable op.textwidth
import { op } from "https://deno.land/x/ddc_vim@v3.4.0/deps.ts";
const { textwidth } = op;

Maximum width of text that is being inserted. A longer line will be broken after white space to get this width. A zero value disables this. 'textwidth' is set to 0 when the 'paste' option is set and restored when 'paste' is reset. When 'textwidth' is zero, 'wrapmargin' may be used. See also 'formatoptions' and |ins-textwidth|. When 'formatexpr' is set it will be used to break the line. NOTE: This option is set to 0 when 'compatible' is set.

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