mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 05:16:45 +00:00
feat(spec): overriding keys with an rhs of false
will remove the key instead
This commit is contained in:
parent
208f91b52f
commit
870af80c68
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ function M:values(plugin)
|
|||
---@diagnostic disable-next-line: no-unknown
|
||||
for _, value in ipairs(plugin[self.type] or {}) do
|
||||
local keys = M.parse(value)
|
||||
if keys[2] == vim.NIL then
|
||||
if keys[2] == vim.NIL or keys[2] == false then
|
||||
values[keys.id] = nil
|
||||
else
|
||||
values[keys.id] = keys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue