copilot.lua and copilot-cmp
These are complements designed to work together: copilot.lua provides the core GitHub Copilot integration for Neovim, while copilot-cmp bridges it into the nvim-cmp completion framework, allowing Copilot suggestions to appear alongside other completion sources.
About copilot.lua
zbirenbaum/copilot.lua
Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot
Implements a pure Lua architecture with separate panel and suggestion modules for lower resource overhead compared to the VimScript original. Supports both Node.js LSP and custom binary servers, with optional NES (neural code suggestions) functionality via copilot-lsp integration. Provides granular control through configurable suggestion triggers, debouncing, and buffer-scoped toggles, plus seamless integration with completion plugins like nvim-cmp and blink.cmp.
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