A completion source for nvim-cmp that provides autocompletion for Neovim's Lua runtime API.
cmp-nvim-lua is a source plugin for nvim-cmp that provides autocompletion for Neovim's Lua runtime API. It solves the problem of manually remembering or looking up Neovim's built-in Lua functions and modules, such as those in `vim.lsp.*`, by offering inline suggestions as you type.
Neovim users who write Lua configurations, plugins, or scripts and want enhanced productivity through autocompletion of the editor's API.
Developers choose it for its specialized focus on Neovim's Lua ecosystem, seamless integration with nvim-cmp, and the ability to control deprecated API inclusions, ensuring accurate and relevant completions.
nvim-cmp source for nvim lua
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Focuses exclusively on Neovim's Lua runtime API, including vim.lsp.* modules, providing accurate and relevant completions for built-in functions.
Seamlessly integrates as a source with minimal configuration, as shown in the README with a simple setup snippet.
Offers an optional include_deprecated setting to filter out outdated APIs, ensuring suggestions remain clean and up-to-date.
Reduces manual API lookups while writing Lua configurations or plugins, enhancing the development workflow within Neovim.
Only works within Neovim and requires nvim-cmp, making it unusable for other editors or Lua development environments.
Does not cover standard Lua libraries or third-party modules, necessitating additional sources for broader Lua coding.
The README provides basic setup but lacks advanced examples, troubleshooting guides, or community support details.