From 0ea3a4605924fa3b095f47a0816ddff78b816b65 Mon Sep 17 00:00:00 2001 From: emmatherock Date: Mon, 31 Aug 2026 03:59:06 -0300 Subject: [PATCH] fix(neovim): use canonical Codex adapter name --- home/emmatherock/neovim.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/emmatherock/neovim.nix b/home/emmatherock/neovim.nix index b33406b..68cb7a7 100644 --- a/home/emmatherock/neovim.nix +++ b/home/emmatherock/neovim.nix @@ -143,7 +143,7 @@ # # Neither adapter has a true zero-config mode that silently piggybacks on # an already-logged-in CLI session: - # - codex_acp: extends the built-in `codex` preset. `defaults.auth_method` + # - codex: extends the built-in `codex` preset. `defaults.auth_method` # accepts "api-key" | "chat-gpt" (confirmed against the docs above, # not "chatgpt"/"openai-api-key"/"codex-api-key"). "chat-gpt" reuses # your ChatGPT/Codex CLI login instead of an OPENAI_API_KEY. @@ -156,7 +156,7 @@ plugins.codecompanion = { enable = true; settings = { - interactions.chat.adapter = "claude_code"; # switch to "codex_acp" per-chat + interactions.chat.adapter = "claude_code"; # switch to "codex" per-chat interactions.inline.adapter = "claude_code"; adapters.acp = { opts.show_presets = false; @@ -169,7 +169,7 @@ }) end ''; - codex_acp.__raw = '' + codex.__raw = '' function() return require("codecompanion.adapters").extend("codex", { defaults = {