Skip to main content
Module

x/dpp_vim/deps.ts>op.cindent

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

Enables automatic C program indenting. See 'cinkeys' to set the keys that trigger reindenting in insert mode and 'cinoptions' to set your preferred indent style. If 'indentexpr' is not empty, it overrules 'cindent'. If 'lisp' is not on and both 'indentexpr' and 'equalprg' are empty, the "=" operator indents using this algorithm rather than calling an external program. See C-indenting. When you don't like the way 'cindent' works, try the 'smartindent' option or 'indentexpr'. This option is not used when 'paste' is set. NOTE: This option is reset when 'compatible' is set.

(default off)

type

LocalOption<boolean>