this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

nvim: codecompanion with claude code adapter

+35 -1
+1 -1
nvim/lazy-lock.json
··· 3 3 "auto-dark-mode.nvim": { "branch": "master", "commit": "e300259ec777a40b4b9e3c8e6ade203e78d15881" }, 4 4 "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" }, 5 5 "cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" }, 6 - "copilot.vim": { "branch": "release", "commit": "f3d66c148aa60ad04c0a21d3e0a776459de09eb2" }, 6 + "codecompanion.nvim": { "branch": "main", "commit": "e75c2f10e383f02aae9eb246569559c0b12b14d6" }, 7 7 "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, 8 8 "dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" }, 9 9 "dropbar.nvim": { "branch": "master", "commit": "596f95e98a21e8fccf3db91fec481129eb82ff61" },
+34
nvim/lua/plugins/ai.lua
··· 5 5 -- vim.g.copilot_filetypes = { markdown = false } 6 6 -- end, 7 7 -- } 8 + { 9 + "olimorris/codecompanion.nvim", 10 + dependencies = { 11 + "nvim-lua/plenary.nvim", 12 + "nvim-treesitter/nvim-treesitter", 13 + }, 14 + opts = { 15 + strategies = { 16 + chat = { 17 + adapter = "claude_code", 18 + }, 19 + inline = { 20 + adapter = "claude_code", 21 + }, 22 + cmd = { 23 + adapter = "claude_code", 24 + } 25 + }, 26 + opts = { 27 + log_level = "DEBUG", -- or "TRACE" 28 + }, 29 + adapters = { 30 + acp = { 31 + claude_code = function() 32 + return require("codecompanion.adapters").extend("claude_code", { 33 + env = { 34 + ANTHROPIC_API_KEY = "ANTHROPIC_API_KEY", 35 + }, 36 + }) 37 + end, 38 + }, 39 + }, 40 + }, 41 + }, 8 42 }