Skip to main content
Module

x/denops_std/function/mod.ts>findfile

📚 Standard module for denops.vim
Go to Latest
function findfile
import { findfile } from "https://deno.land/x/denops_std@v4.1.4/function/mod.ts";

Just like |finddir()|, but find a file instead of a directory. Uses 'suffixesadd'. Example: :echo findfile("tags.vim", ".;") Searches from the directory of the current file upwards until it finds the file "tags.vim". Can also be used as a |method|: GetName()->findfile()

Parameters

denops: Denops
name: unknown
optional
path: unknown
optional
count: unknown

Returns

Promise<unknown>