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

x/denops_std/option/mod.ts>formatoptions

📚 Standard module for denops.vim
Latest
variable formatoptions
import { formatoptions } from "https://deno.land/x/denops_std@v6.5.0/option/mod.ts";

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")