import { fn } from "https://deno.land/x/ddc_vim@v4.1.0/deps.ts";
const { browsedir } = fn;
Put up a directory requester. This only works when
"has("browse")" returns TRUE
(only in some GUI versions).
On systems where a directory browser is not supported a file
browser is used. In that case: select a file in the directory
to be used.
The input fields are:
{title} title for the requester
{initdir} directory to start browsing in
When the "Cancel" button is hit, something went wrong, or
browsing is not possible, an empty string is returned.