From fd01c8aac2855b18558e8af8618f737e27156881 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 6 Feb 2025 14:09:34 +0100 Subject: [PATCH] nvim: Add whichkey group for codecompanion --- nvim/.config/nvim/lua/plugins/llm.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nvim/.config/nvim/lua/plugins/llm.lua b/nvim/.config/nvim/lua/plugins/llm.lua index 7a339e4..0307ceb 100644 --- a/nvim/.config/nvim/lua/plugins/llm.lua +++ b/nvim/.config/nvim/lua/plugins/llm.lua @@ -7,6 +7,11 @@ return { "nvim-treesitter/nvim-treesitter", "github/copilot.vim", }, + init = function(_) + if require("core.util").is_available("which-key") then + require("which-key").add({ "a", group = "codecompanion" }) + end + end, opts = { strategies = { chat = { adapter = "groq" },