nvim_runtime_lua

vim.fs.find.Opts

@inlinedoc

Fields6

Opts.path : nil | string

Path to begin searching from, defaults to |current-directory|. Not expanded.

Opts.upward : nil | boolean

Search upward through parent directories. Otherwise, search child directories (recursively). (default: false)

Opts.stop : nil | string

Stop searching when this directory is reached. The directory itself is not searched.

Opts.type : nil | string

Find only items of the given type. If omitted, all items that match {names} are included.

Opts.limit : nil | number

Stop searching after this many matches. Use math.huge for "unlimited". (default: 1)

Opts.follow : nil | boolean

Follow symbolic links. (default: false)