-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Issue #154 discussed a way to run claudecode.nvim with Claude Code in an external session, using 'provider = "none"' and then launch claude using claude --ide. This is great for working on monolith projects.
For small projects, I'd like the ability to dynamically toggle between 'provider = "none"' and 'provider = "auto". I've tried some manual tests, but find claudecode.nvim persists the 'startup value', and doesn't seem to use the dynamically set value. Here's the commands used in my manual test:
# print setting
:lua print(vim.inspect(require("claudecode").state.config.terminal.provider))
# toggle setting
:lua require("claudecode").state.config.terminal.provider = require("claudecode").state.config.terminal.provider == "auto" and "none" or "auto"
Is there a way to toggle the provider dynamically?
Metadata
Metadata
Assignees
Labels
No labels