Skip to content

Commit

Permalink
fix: Add type class for 'dev' key.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsully committed Jan 3, 2025
1 parent 7e6c863 commit aea5c2b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lua/lazy/types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,15 @@
---@field optional? boolean If set, then this plugin will not be added unless it is added somewhere else
---@field lazy? boolean
---@field priority? number Only useful for lazy=false plugins to force loading certain plugins first. Default priority is 50
---@field dev? boolean If set, then link to the respective folder under your ~/projects
---@field dev? LazyPluginDev
---@field rocks? string[]
---@field virtual? boolean virtual plugins won't be installed or added to the rtp.

---@class LazyPluginDev
---@field path string | fun(plugin: LazyPlugin): string Directory where you store your local plugin projects.
---@field patterns string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub
---@field fallback boolean Fallback to git when local plugin doesn't exist

---@class LazyPlugin: LazyPluginBase,LazyPluginHandlers,LazyPluginHooks,LazyPluginRef
---@field dependencies? string[]
---@field specs? string|string[]|LazyPluginSpec[]
Expand Down

0 comments on commit aea5c2b

Please sign in to comment.