utils: mappings: Allow plugin=true in user mappings
so that they can be lazy loaded if required https://github.com/NvChad/NvChad/issues/1467
This commit is contained in:
parent
78ddf8d624
commit
f2c3ed0e7d
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ M.remove_disabled_keys = function(chadrc_mappings, default_mappings)
|
|||
if not keys_to_disable[mode] then
|
||||
keys_to_disable[mode] = {}
|
||||
end
|
||||
section_keys = (type(section_keys) == "table" and section_keys) or {}
|
||||
for k, _ in pairs(section_keys) do
|
||||
keys_to_disable[mode][k] = true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue