Skip to main content
Module

x/denops_std/option/mod.ts>cindent

📚 Standard module for denops.vim
Go to Latest
variable cindent
import { cindent } from "https://deno.land/x/denops_std@v4.1.0/option/mod.ts";

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.

type

{ get(denops: Denops): Promise<boolean>; set(denops: Denops, value: boolean): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<boolean>; setLocal(denops: Denops, value: boolean): Promise<void>; resetLocal(denops: Denops): Promise<void>; }