Skip to content

Commit 870af80

Browse files
committed
feat(spec): overriding keys with an rhs of false will remove the key instead
1 parent 208f91b commit 870af80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/core/handler/keys.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function M:values(plugin)
7676
---@diagnostic disable-next-line: no-unknown
7777
for _, value in ipairs(plugin[self.type] or {}) do
7878
local keys = M.parse(value)
79-
if keys[2] == vim.NIL then
79+
if keys[2] == vim.NIL or keys[2] == false then
8080
values[keys.id] = nil
8181
else
8282
values[keys.id] = keys

0 commit comments

Comments
 (0)