Neovim plugin for GitHub Copilot Chat integration
Top 15.7% on sourcepulse
This Neovim plugin integrates GitHub Copilot Chat, offering AI-powered coding assistance directly within the editor. It targets Neovim users seeking to leverage advanced LLMs like GPT-4o and Claude 3.7 Sonnet for code explanation, review, optimization, and more, with rich workspace context and customizable interactions.
How It Works
The plugin utilizes a modular provider architecture, supporting official Copilot Chat and custom LLM backends (Ollama, LM Studio, Mistral.ai). It features a smart embeddings system for rich workspace context, allowing explicit context sharing via visual selections or specified inputs. An interactive chat UI with completion, diffs, and quickfix integration, coupled with a powerful prompt system using composable templates and sticky prompts, enhances user control and workflow.
Quick Start & Requirements
lazy.nvim
or vim-plug
.curl
(8.0.0+ recommended), GitHub Copilot chat enabled in GitHub settings.tiktoken_core
(for token counting), git
, ripgrep
, lynx
.github/copilot.vim
or zbirenbaum/copilot.lua
and nvim-lua/plenary.nvim
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
For Neovim versions prior to 0.11.0, noinsert
or noselect
must be added to completeopt
for chat autocompletion to function correctly. For optimal autocompletion, popup
should also be added to completeopt
.
1 day ago
1 day