#479 · Primary category: AI Coding Assistants

copilot-cmp

copilot github-copilot lua neovim nvim-cmp

Lua plugin to turn github copilot into a cmp source

Project last updated:12/11/24

GitHub Stars

1.4K

Forks

67

Contributors

13

License

MIT

Why we included this project

Neovim users who already manage completions through nvim-cmp will find this plugin the simplest way to bring GitHub Copilot into that same menu. It wraps zbirenbaum's copilot.lua and exposes Copilot's output as a normal cmp source, so suggestions appear as snippet entries in your existing completion popup and show their full contents when you hover them. You interact with them using the same keybindings and highlighting you've already set up for LSP and snippet completions, and the Copilot icon is configurable through lspkind. It's a small, focused bridge rather than a full editor plugin: you need copilot.lua installed first and should be comfortable adding sources in your own cmp config. For teams that standardize on nvim-cmp, this is a clean way to fold AI suggestions into the tooling you already rely on.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category