Skip to main content
Module

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

📚 Standard module for denops.vim
Go to Latest
function nvim__get_runtime
import { nvim__get_runtime } from "https://deno.land/x/denops_std@v6.4.0/function/nvim/mod.ts";

Find files in runtime directories

Attributes: api-fast

Parameters:

  • {pat} pattern of files to search for
  • {all} whether to return all matches or only the first
  • {opts} is_lua: only search lua subdirs

Return: list of absolute paths to the found files

Parameters

denops: Denops
pat: unknown
all: unknown
opts: unknown

Returns

Promise<unknown>