make whichkey lazyloadable by its cmd | fix #2342
This commit is contained in:
parent
9c013a6aac
commit
3f1e6d71d4
1 changed files with 1 additions and 0 deletions
|
@ -256,6 +256,7 @@ local default_plugins = {
|
||||||
init = function()
|
init = function()
|
||||||
require("core.utils").load_mappings "whichkey"
|
require("core.utils").load_mappings "whichkey"
|
||||||
end,
|
end,
|
||||||
|
cmd = "WhichKey",
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
dofile(vim.g.base46_cache .. "whichkey")
|
dofile(vim.g.base46_cache .. "whichkey")
|
||||||
require("which-key").setup(opts)
|
require("which-key").setup(opts)
|
||||||
|
|
Loading…
Reference in a new issue