feat: added support for local spec files .lazy.lua

This commit is contained in:
Folke Lemaitre 2024-05-26 16:43:52 +02:00
parent ea7b9c3c3f
commit 9dde1f1bce
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 89 additions and 59 deletions

View file

@ -16,6 +16,7 @@ M.defaults = {
},
-- leave nil when passing the spec as the first argument to setup()
spec = nil, ---@type LazySpec
local_spec = true, -- load project specific .lazy.lua spec files. They will be added at the end of the spec.
lockfile = vim.fn.stdpath("config") .. "/lazy-lock.json", -- lockfile generated after running update.
---@type number? limit the maximum amount of concurrent tasks
concurrency = jit.os:find("Windows") and (vim.uv.available_parallelism() * 2) or nil,