From 5aea4e7021287d7bcda6f31d7ad234580940be32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=8D=E7=94=9F=E8=8A=B1?= Date: Fri, 8 Mar 2024 01:27:50 +0900 Subject: [PATCH] fix(types): fix incorrect LuaLS types (#1339) --- 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 5085b14..5d1980a 100644 --- a/lua/lazy/types.lua +++ b/lua/lazy/types.lua @@ -69,7 +69,7 @@ ---@field event? string[]|string|LazyEventSpec[]|fun(self:LazyPlugin, event:string[]):string[] ---@field cmd? string[]|string|fun(self:LazyPlugin, cmd:string[]):string[] ---@field ft? string[]|string|fun(self:LazyPlugin, ft:string[]):string[] ----@field keys? string|string[]|LazyKeysSpec[]|fun(self:LazyPlugin, keys:string[]):(string|LazyKeys)[] +---@field keys? string|string[]|LazyKeysSpec[]|fun(self:LazyPlugin, keys:string[]):((string|LazyKeys)[]) ---@field module? false ---@class LazyPluginSpec: LazyPluginBase,LazyPluginSpecHandlers,LazyPluginHooks,LazyPluginRef