nvim_runtime_lua

vim.loader.find.Opts

@inlinedoc

Fields4

Opts.rtp : nil | boolean

Search for modname in the runtime path. (default: true)

Opts.paths : string[] | nil

Extra paths to search for modname (default: {})

Opts.patterns : string[] | nil

List of patterns to use when searching for modules. A pattern is a string added to the basename of the Lua module being searched. (default: {"/init.lua", ".lua"})

Opts.all : nil | boolean

Search for all matches. (default: false)