From 80f5a8a3d84dda81293bd9a8159415c97a3ccf18 Mon Sep 17 00:00:00 2001 From: daephx Date: Mon, 9 Dec 2024 13:19:49 -0800 Subject: [PATCH] fix(types): ensure all fields for `LazyPluginSpec` are optional --- lua/lazy/types.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/lazy/types.lua b/lua/lazy/types.lua index 0dbba9a0..6e406bbc 100644 --- a/lua/lazy/types.lua +++ b/lua/lazy/types.lua @@ -75,6 +75,8 @@ ---@field module? false ---@class LazyPluginSpec: LazyPluginBase,LazyPluginSpecHandlers,LazyPluginHooks,LazyPluginRef +---@field name? string display name and name used for plugin config files +---@field dir? string ---@field dependencies? string|string[]|LazyPluginSpec[] ---@field specs? string|string[]|LazyPluginSpec[]