Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denops_std/option/vim/mod.ts>edcompatible

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

Makes the 'g' and 'c' flags of the ":substitute" command to be toggled each time the flag is given. See |complex-change|. See also 'gdefault' option. Switching this option on may break plugins! This option is not used in |Vim9| script.

type

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