Discover and explore top open-source AI tools and projects—updated daily.
Neovim integration for AI coding assistant
Top 87.1% on SourcePulse
This plugin integrates the opencode AI assistant with Neovim, providing a seamless way for developers to interact with AI models directly within their editor. It targets Neovim users who want to leverage AI for code generation, refinement, and contextual queries without leaving their workflow.
How It Works
The plugin connects to an opencode process, likely running as a separate TUI application. It intercepts user prompts, injects customizable editor context (like current buffer content, selections, or git diffs) into these prompts, and sends them to opencode. The responses are then displayed within Neovim, often in an embedded terminal or via notifications. This approach allows for flexible prompt engineering and context-aware AI assistance.
Quick Start & Requirements
lazy.nvim
or nixvim
.snacks.nvim
as a dependency.Highlighted Details
@selection
, @buffer
, and @diff
.Maintenance & Community
nvim-aider
and neopencode.nvim
.Licensing & Compatibility
Limitations & Caveats
The plugin relies on opencode's "currently undocumented, likely unstable API," which poses a risk of breakage with opencode updates. It also requires a separate opencode process to be running, adding an external dependency to the setup.
1 day ago
Inactive