Skip to main content
Module

x/dpp_vim/deps.ts>op.formatoptions

Dark powered plugin manager for Vim/neovim
Latest
variable op.formatoptions
import { op } from "https://deno.land/x/dpp_vim@v0.2.0/deps.ts";
const { formatoptions } = op;

This is a sequence of letters which describes how automatic formatting is to be done. See fo-table for possible values and gq for how to format text. When the 'paste' option is on, no formatting is done (like 'formatoptions' is empty). Commas can be inserted for readability. To avoid problems with flags that are added in the future, use the "+=" and "-=" feature of ":set" add-option-flags. NOTE: This option is set to the Vi default value when 'compatible' is set and to the Vim default value when 'compatible' is reset.

(Vim default: "tcq", Vi default: "vt")

type

LocalOption<string>