make whichkey lazyloadable by its cmd | fix #2342

pull/2348/head
siduck 9 months ago
parent 9c013a6aac
commit 3f1e6d71d4

@ -256,6 +256,7 @@ local default_plugins = {
init = function()
require("core.utils").load_mappings "whichkey"
end,
cmd = "WhichKey",
config = function(_, opts)
dofile(vim.g.base46_cache .. "whichkey")
require("which-key").setup(opts)

Loading…
Cancel
Save