fix(plugin): rename weak => optional. Makes more sense :)

This commit is contained in:
Folke Lemaitre 2023-05-22 14:53:30 +02:00
parent 8cd4a59674
commit 9177778891
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 5 additions and 5 deletions

View file

@ -47,7 +47,7 @@
---@field dir string
---@field enabled? boolean|(fun():boolean)
---@field cond? boolean|(fun():boolean)
---@field weak? 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 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