cmp-nvim-lsp is an open-source Neovim plugin that connects the nvim-cmp autocompletion engine with Neovim's built-in Language Server Protocol client. It enables language servers to provide completion suggestions through the nvim-cmp interface. The plugin advertises enhanced client capabilities so servers can return richer completion information than Neovim's default completion functionality. Developers can receive language-aware suggestions, including symbols, functions, variables, and other supported completion items. It integrates with existing LSP server configurations through a simple Lua helper function. The plugin supports customization of keyword matching rules for individual languages and servers. It works alongside other nvim-cmp completion sources without replacing the underlying language server. Its lightweight design helps developers configure advanced code completion in Neovim.
Features
- Neovim LSP Autocompletion Integration
- Enhanced Language Server Completion Capabilities
- nvim-cmp Completion Source Support
- Lua-Based Language Server Configuration
- Language-Specific Keyword Pattern Customization
- Compatibility with Multiple Completion Sources