opencode
URL: https://github.com/NickvanDyke/opencode.nvim/
Maintainers: Austin Horstman
OpenCode.nvim provides seamless integration with Claude Code for AI-assisted development.
Note
Recommended:
snacks.enablewithsettings.input.enabled = truefor better prompt input Required:snacks.enableto use opencode.nvim’s embedded terminal
Tip
Set
opts.autoread = trueif using theauto_reloadoption.
plugins.opencode.enable
Whether to enable opencode.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.opencode.package
The opencode package to use.
Type: package
Default:
pkgs.vimPlugins.opencode-nvim
Declared by:
plugins.opencode.autoLoad
Whether to automatically load opencode when neovim starts.
Type: boolean
Default:
false when lazy-loading is enabled.
Example:
false
Declared by:
plugins.opencode.settings
Options provided to the require('opencode').setup function.
Type: lua value
Default:
{ }
Example:
{
auto_reload = false;
port = 8080;
prompts = {
example = {
description = "An example prompt configuration";
prompt = "Write a function that returns the factorial of a number";
};
};
}
Declared by: