Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.browsedir

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.browsedir
import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/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.

Parameters

denops: Denops
title: unknown
initdir: unknown

Returns

Promise<string>