nvim: Add whichkey group for codecompanion

This commit is contained in:
Marty Oehme 2025-02-06 14:09:34 +01:00
parent 99eada00b8
commit fd01c8aac2
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -7,6 +7,11 @@ return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
"github/copilot.vim", "github/copilot.vim",
}, },
init = function(_)
if require("core.util").is_available("which-key") then
require("which-key").add({ "<leader>a", group = "codecompanion" })
end
end,
opts = { opts = {
strategies = { strategies = {
chat = { adapter = "groq" }, chat = { adapter = "groq" },