mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 19:34:15 +00:00
Merge branch 'folke:main' into otherPossibility
This commit is contained in:
commit
c7559279d2
8 changed files with 33 additions and 20 deletions
|
@ -30,7 +30,7 @@ M.defaults = {
|
|||
filter = true,
|
||||
},
|
||||
dev = {
|
||||
-- directory where you store your local plugin projects
|
||||
---@type string | fun(plugin: LazyPlugin): string directory where you store your local plugin projects
|
||||
path = "~/projects",
|
||||
---@type string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub
|
||||
patterns = {}, -- For example {"folke"}
|
||||
|
@ -225,7 +225,9 @@ function M.setup(opts)
|
|||
table.insert(M.options.install.colorscheme, "habamax")
|
||||
|
||||
M.options.root = Util.norm(M.options.root)
|
||||
M.options.dev.path = Util.norm(M.options.dev.path)
|
||||
if type(M.options.dev.path) == "string" then
|
||||
M.options.dev.path = Util.norm(M.options.dev.path)
|
||||
end
|
||||
M.options.lockfile = Util.norm(M.options.lockfile)
|
||||
M.options.readme.root = Util.norm(M.options.readme.root)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue