Created
January 17, 2026 02:33
-
-
Save wulymammoth/52efd6e885bdebd12e4ea3bdfc06c773 to your computer and use it in GitHub Desktop.
CodeCompanion.nvim config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| { | |
| "olimorris/codecompanion.nvim", | |
| version = "^18.0.0", | |
| dependencies = { | |
| "nvim-lua/plenary.nvim", | |
| "nvim-treesitter/nvim-treesitter", | |
| }, | |
| opts = { | |
| adapters = { | |
| acp = { | |
| codex = function() | |
| return require("codecompanion.adapters").extend("codex", { | |
| defaults = { | |
| auth_method = "chatgpt", | |
| }, | |
| }) | |
| end, | |
| }, | |
| }, | |
| strategies = { | |
| chat = { | |
| adapter = "codex", | |
| }, | |
| inline = { | |
| adapter = { | |
| name = "anthropic", | |
| model = "claude-opus-4-5-20251101", | |
| }, | |
| }, | |
| cmd = { | |
| adapter = { | |
| name = "anthropic", | |
| model = "claude-opus-4-5-20251101", | |
| }, | |
| }, | |
| }, | |
| }, | |
| }, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment