Skip to main content
Module

x/denops_std/option/mod.ts>formatexpr

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

{not available when compiled without the |+eval| feature} Expression which is evaluated to format a range of lines for the |gq| operator or automatic formatting (see 'formatoptions'). When this option is empty 'formatprg' is used.

type

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