Neovim plugin enhancing GitHub Copilot
Top 13.6% on sourcepulse
This plugin provides a fully-featured, Lua-based replacement for copilot.vim
, targeting Neovim users seeking improved performance and integration with modern Lua-based Neovim plugins. It offers enhanced control over GitHub Copilot suggestions, including a dedicated panel for previewing and navigating suggestions, and aims to reduce resource consumption compared to its predecessor.
How It Works
copilot.lua
leverages Neovim's built-in LSP client to communicate with the GitHub Copilot language server. It's written entirely in Lua for efficiency and easier integration with the Neovim ecosystem. The plugin manages the Copilot LSP process, handles authentication, and provides API functions for controlling suggestion display, navigation, and configuration.
Quick Start & Requirements
packer.nvim
: use { "zbirenbaum/copilot.lua" }
:Copilot auth
for permanent sign-in.require("copilot").setup({})
in your Neovim configuration, ideally with lazy-loading.Highlighted Details
nvim-cmp
.Maintenance & Community
nvim-cmp
and lualine.nvim
are available.Licensing & Compatibility
Limitations & Caveats
1 day ago
1 day