import { nvim_get_runtime_file } from "https://deno.land/x/denops_std@v6.4.0/function/nvim/mod.ts";
Find files in runtime directories
"name" can contain wildcards. For example nvim_get_runtime_file("colors/*.vim", true) will return all color scheme files. Always use forward slashes (/) in the search pattern for subdirectories regardless of platform.
It is not an error to not find any files. An empty array is returned then.
Attributes:
api-fast
Parameters:
- {name} pattern of files to search for
- {all} whether to return all matches or only the first
Return: list of absolute paths to the found files