fix: remove disabled maps from which-key again
This commit is contained in:
parent
359a286aea
commit
3fc888c147
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ nvchad.remove_disabled_mappings = function(key_map)
|
||||||
for k, v in pairs(key_map) do
|
for k, v in pairs(key_map) do
|
||||||
if v ~= nil and v ~= "" then clean_map[k] = v end
|
if v ~= nil and v ~= "" then clean_map[k] = v end
|
||||||
end
|
end
|
||||||
else
|
elseif not key_map == nil and not key_map == "" then
|
||||||
return key_map
|
return key_map
|
||||||
end
|
end
|
||||||
return clean_map
|
return clean_map
|
||||||
|
|
Loading…
Reference in a new issue