Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>op.formatoptions

Dark deno-powered completion framework for neovim/Vim
Go to Latest
variable op.formatoptions
import { op } from "https://deno.land/x/ddc_vim@v4.3.0/deps.ts";
const { formatoptions } = op;

This is a sequence of letters which describes how automatic formatting is to be done. See fo-table. 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>