From 5b491690f5a0d8570aaf286f68b106e2abb3c115 Mon Sep 17 00:00:00 2001 From: Kelly Lin Date: Sat, 19 Aug 2023 09:51:44 +1000 Subject: [PATCH] fix: config key dev type The dev key in config should be typed as LazySpec and not boolean. --- lua/lazy/types.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/types.lua b/lua/lazy/types.lua index df8c19d..0fcffae 100644 --- a/lua/lazy/types.lua +++ b/lua/lazy/types.lua @@ -50,7 +50,7 @@ ---@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 +---@field dev? LazySpec If set, then link to the respective folder under your ~/projects ---@class LazyPlugin: LazyPluginBase,LazyPluginHandlers,LazyPluginHooks,LazyPluginRef ---@field dependencies? string[]