diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/core/which-key.lua | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/lua/core/which-key.lua b/lua/core/which-key.lua index ef875c30..c3255705 100644 --- a/lua/core/which-key.lua +++ b/lua/core/which-key.lua @@ -185,13 +185,11 @@ M.setup = function()      mappings["z"] = "Zen"    end -  for k, v in pairs(O.user_which_key) do -    mappings[k] = v -  end -    local wk = require "which-key" +    wk.register(mappings, opts)    wk.register(vmappings, vopts) +  wk.register(O.user_which_key, opts)  end  return M | 
