1
0
Fork 0
mirror of https://github.com/folke/lazy.nvim.git synced 2025-04-04 06:57:34 +00:00

docs: update dev.path description ()

## Description

In the issue () I was confused by the description of `dev.path`. I
thought functions must also return the general directory for local
plugins, but it must be the plugin directory.

## Related Issue(s)

This commit is contained in:
Christoph Zirkelbach 2024-08-31 08:57:58 +02:00 committed by GitHub
parent 077102c5bf
commit 014a72b7a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,9 @@ M.defaults = {
hererocks = nil,
},
dev = {
---@type string | fun(plugin: LazyPlugin): string directory where you store your local plugin projects
-- Directory where you store your local plugin projects. If a function is used,
-- the plugin directory (e.g. `~/projects/plugin-name`) must be returned.
---@type string | fun(plugin: LazyPlugin): string
path = "~/projects",
---@type string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub
patterns = {}, -- For example {"folke"}