mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-11 09:52:31 +00:00
fix: Add type class for 'dev' key.
This commit is contained in:
parent
7e6c863bc7
commit
aea5c2bfb8
1 changed files with 6 additions and 1 deletions
|
@ -58,10 +58,15 @@
|
||||||
---@field optional? boolean If set, then this plugin will not be added unless it is added somewhere else
|
---@field optional? boolean If set, then this plugin will not be added unless it is added somewhere else
|
||||||
---@field lazy? boolean
|
---@field lazy? boolean
|
||||||
---@field priority? number Only useful for lazy=false plugins to force loading certain plugins first. Default priority is 50
|
---@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 rocks? string[]
|
||||||
---@field virtual? boolean virtual plugins won't be installed or added to the rtp.
|
---@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
|
---@class LazyPlugin: LazyPluginBase,LazyPluginHandlers,LazyPluginHooks,LazyPluginRef
|
||||||
---@field dependencies? string[]
|
---@field dependencies? string[]
|
||||||
---@field specs? string|string[]|LazyPluginSpec[]
|
---@field specs? string|string[]|LazyPluginSpec[]
|
||||||
|
|
Loading…
Add table
Reference in a new issue