A completion source plugin for nvim-cmp that integrates with Neovim's built-in LSP client.
cmp-nvim-lsp is a Neovim plugin that acts as a completion source for nvim-cmp, integrating with Neovim's built-in Language Server Protocol client. It enables advanced code completion by properly advertising nvim-cmp's capabilities to language servers, providing richer completion candidates than Neovim's default omnifunc. The plugin solves the problem of limited completion support when using nvim-cmp with Neovim's LSP client.
Neovim users who use nvim-cmp for completion and want to leverage language server capabilities for code suggestions. It's particularly useful for developers working with multiple programming languages through LSP.
Developers choose cmp-nvim-lsp because it seamlessly connects nvim-cmp with Neovim's native LSP client, offering better completion support than the default omnifunc. Its simple configuration and language-server-specific customization options make it a lightweight yet powerful completion source.
nvim-cmp source for neovim builtin LSP client
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides default_capabilities() helper to advertise nvim-cmp's extended completion support to language servers, enabling richer candidates than Neovim's omnifunc.
Allows overriding keyword_pattern for specific language servers like PHP, fine-tuning completion behavior based on language syntax.
Offers simple setup as a source within nvim-cmp, making integration with existing Neovim LSP configurations straightforward.
Designed specifically for Neovim's built-in LSP client, eliminating external dependencies and streamlining the setup process.
Advertises capabilities that disable Neovim's default completion function, forcing reliance on nvim-cmp for all completions.
Has documented breaking changes in a GitHub issue, which can disrupt workflows and require configuration updates without prior notice.
As a hobby project, bug fixes may be slow unless users provide minimal reproduction steps, and it's only useful with nvim-cmp.