From 3f1e6d71d4c6c98380d5383d5e1bf1f6eaa3399f Mon Sep 17 00:00:00 2001 From: siduck Date: Sun, 27 Aug 2023 11:28:56 +0530 Subject: [PATCH] make whichkey lazyloadable by its cmd | fix #2342 --- lua/plugins/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 8228109..6491c3b 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -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)