Skip to main content
Module

x/denops_std/option/mod.ts>directory

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

List of directory names for the swap file, separated with commas. Recommended value: ".,/vimswap//" - this will put the swap file next to the edited file if possible, and in your personal swap directory otherwise. Make sure "/vimswap//" is only readable for you.

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