mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 19:34:15 +00:00
fix optional types
This commit is contained in:
parent
3ad55ae678
commit
346ade4155
2 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@ local Loader = require("lazy.core.loader")
|
|||
---@field noremap? boolean
|
||||
---@field remap? boolean
|
||||
---@field expr? boolean
|
||||
---@field id string
|
||||
---@field id? string
|
||||
|
||||
---@class LazyKeysHandler:LazyHandler
|
||||
local M = {}
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
---@field submodules? boolean Defaults to true
|
||||
|
||||
---@class LazyPluginBase
|
||||
---@field [1] string?
|
||||
---@field name string display name and name used for plugin config files
|
||||
---@field [1] string
|
||||
---@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