fix optional types

This commit is contained in:
kyoh86 2023-07-26 17:17:00 +09:00
commit 346ade4155
No known key found for this signature in database
GPG key ID: 106F27E5F736475C
2 changed files with 5 additions and 5 deletions

View file

@ -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 = {}

View file

@ -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