Skip to main content
Module

x/denops_std/option/mod.ts>backupcopy

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

When writing a file and a backup is made, this option tells how it's done. This is a comma-separated list of words.

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>; }