We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9102d05 commit 9d92e65Copy full SHA for 9d92e65
lua/lazy/core/handler/init.lua
@@ -95,8 +95,8 @@ function M:add(plugin)
95
if not self.active[key] then
96
self.active[key] = {}
97
self:_add(value)
98
+ self.managed[key] = key
99
end
- self.managed[key] = self.managed[key]
100
self.active[key][plugin.name] = plugin.name
101
102
lua/lazy/core/handler/keys.lua
@@ -47,7 +47,7 @@ end
47
---@param mode? string
48
function M:have(lhs, mode)
49
local keys = M.parse(lhs, mode)
50
- return self.managed[keys.id]
+ return self.managed[keys.id] ~= nil
51
52
53
---@param plugin LazyPlugin
0 commit comments