Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>stdpath

๐Ÿ“š Standard module for denops.vim
Go to Latest
function stdpath
import { stdpath } from "https://deno.land/x/denops_std@v3.9.0/function/nvim/mod.ts";

Returns |standard-path| locations of various default files and directories. {what} Type Description ~ cache String Cache directory. Arbitrary temporary storage for plugins, etc. config String User configuration directory. The |init.vim| is stored here. config_dirs List Additional configuration directories. data String User data directory. The |shada-file| is stored here. data_dirs List Additional data directories. Example: :echo stdpath("config")

Parameters

denops: Denops
what: unknown

Returns

Promise<unknown>