Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
mason.nvim
Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I like to describe lsp-zero as an opinionated configuration wrapped in a plugin. It was made to reduce the boilerplate code necessary to configure nvim-cmp and nvim-lspconfig.
I like to describe lsp-zero as an opinionated configuration wrapped in a plugin. It was made to reduce the boilerplate code necessary to configure nvim-cmp and nvim-lspconfig.
I like to describe lsp-zero as an opinionated configuration wrapped in a plugin. It was made to reduce the boilerplate code necessary to configure nvim-cmp and nvim-lspconfig.
To add this in your configuration first install the plugins mason.nvim and mason-lspconfig. Then call their setup function.
To add this in your configuration first install the plugins mason.nvim and mason-lspconfig. Then call their setup function.
Here you don't need lsp-zero at all. Install luasnip and have it load the snippet collection you installed (I recommend friendly-snippets).
Here you don't need lsp-zero at all. Install luasnip and have it load the snippet collection you installed (I recommend friendly-snippets).
cmp-buffer: Completion source. It provides suggestions based on the current file.
cmp-path: Completion source. Gives suggestions based on the filesystem.
cmp_luasnip: Completion source. It shows available snippets in the suggestions.
cmp-nvim-lsp: Completion source. Shows data send by the language server.
Related posts
- Enabling python's snippets.
- When pressing completing the suggestion for a method using `cmp` and `LSP`, is possible to have the arguments in the the completion?
- nvim-cmp autocompletion issues with C++
- How to setup auto completion, etc. using LSP and stuff without bloating everything with a plugin manager?
- [HELP] Configuring Vim-tex in NvChad config