nvim: Add whichkey group for codecompanion
This commit is contained in:
parent
99eada00b8
commit
fd01c8aac2
1 changed files with 5 additions and 0 deletions
|
|
@ -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" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue