CopilotChat.nvim and copilot-cmp
These are complements designed to be used together: CopilotChat provides conversational AI interaction while copilot-cmp integrates Copilot suggestions into Neovim's native completion menu (cmp), serving different use cases within the same workflow.
About CopilotChat.nvim
CopilotC-Nvim/CopilotChat.nvim
Chat with GitHub Copilot in Neovim
Supports multiple AI models (GPT-4o, Claude, Gemini, o3-mini) via GitHub's Copilot API and custom providers like Ollama, with tool calling that allows the LLM to execute workspace functions (file reading, git operations, search) pending user approval. Features a resource/tool annotation system (`#file`, `@copilot`), sticky prompts for persistent context, token-efficient history management via tiktoken, and a comprehensive Lua API for scriptable/headless automation.
About copilot-cmp
zbirenbaum/copilot-cmp
Lua plugin to turn github copilot into a cmp source
Integrates Copilot suggestions directly into nvim-cmp's completion menu with full snippet expansion and hover preview, leveraging the copilot.lua backend. Provides custom sorting comparators to prioritize AI completions and includes pair-fixing logic to prevent Copilot from duplicating closing delimiters when completing within bracket structures.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work