mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-27 19:24:13 +00:00
fix: ensure all fields for LazyPluginBase
are optional
This commit is contained in:
parent
014d1d6d78
commit
04677b7c57
1 changed files with 3 additions and 3 deletions
|
@ -49,10 +49,10 @@
|
|||
|
||||
---@class LazyPluginBase
|
||||
---@field [1] string?
|
||||
---@field name string display name and name used for plugin config files
|
||||
---@field name? string display name and name used for plugin config files
|
||||
---@field main? string Entry module that has setup & deactivate
|
||||
---@field url string?
|
||||
---@field dir string
|
||||
---@field url? string
|
||||
---@field dir? string
|
||||
---@field enabled? boolean|(fun():boolean)
|
||||
---@field cond? boolean|(fun():boolean)
|
||||
---@field optional? boolean If set, then this plugin will not be added unless it is added somewhere else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue