make whichkey lazyloadable by its cmd | fix #2342
This commit is contained in:
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…
Reference in New Issue