From fea6124c336eacd2e3b5422e54437ca47193021d Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Tue, 18 Feb 2025 19:24:13 +0000 Subject: Fixed config for which-key plugin. --- .config/nvim/lua/plugins/whichkey.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.config/nvim/lua/plugins/whichkey.lua b/.config/nvim/lua/plugins/whichkey.lua index d813580..9fadb97 100644 --- a/.config/nvim/lua/plugins/whichkey.lua +++ b/.config/nvim/lua/plugins/whichkey.lua @@ -1,3 +1,18 @@ return { "folke/which-key.nvim", + event = "VeryLazy", + opts = { + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + }, + keys = { + { + "?", + function() + require("which-key").show({ global = false }) + end, + desc = "Buffer Local Keymaps (which-key)", + }, + }, } -- cgit v1.2.3