Skip to main content
Module

x/denops_std/option/mod.ts>equalprg

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

External program to use for "=" command. When this option is empty the internal formatting functions are used; either 'lisp', 'cindent' or 'indentexpr'. When Vim was compiled without internal formatting, the "indent" program is used. Environment variables are expanded :set_env. See option-backslash about including spaces and backslashes. This option cannot be set from a modeline or in the sandbox, for security reasons.

(default "")

type

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