lsp-zero.nvim
nvim-cmp
Our great sponsors
lsp-zero.nvim | nvim-cmp | |
---|---|---|
130 | 250 | |
3,427 | 6,916 | |
- | - | |
9.3 | 7.5 | |
4 days ago | 1 day ago | |
Lua | Lua | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lsp-zero.nvim
-
Using nvim-lint as a null-ls alternative for linters
Personally, i think nvim-lint is the best alternative currently, specially so because it has no dependencies on external binaries. This guide assumes you already have your LSP set up with nvim-lspconfig (or an alternative like lsp-zero). You should also have an way to install the linters you are gonna need, i highly recommend Mason with mason-lspconfig.
-
LazyVim
I went with a minimal approach ... I still use my `.vimrc` file, removed all code completion stuff and added LSP https://github.com/VonHeikemen/lsp-zero.nvim/blob/v2.x/doc/m... ... next step treesitter but i'm in no hurry :)
-
As someone new to neovim, should I even bother with LSP?
For those new to neovim, the documentation in lsp-zero has a tutorial that shows a configuration from scratch. It shows how to get a plugin a manager, a colorscheme, and setup lsp-zero.
https://github.com/VonHeikemen/lsp-zero.nvim for the win!
-
How to configure vim like an IDE
For neovim, you can still use the same extensions; however there's also a built-in LSP client. The downside of using the built-in is you'll need to have more extensions installed/configured to get all the features out of the box...BUT projects do exist to help simplify that, like lsp-zero.
-
Your favourite Neovim plugins?
lap-zero.nvim - default config for nvim-lspconfig, mason.nvim, nvim-cmp.
-
How to make nvim-jdtls work with lsp-zero?
In version v2.x the keybindings you set on the "global" on_attach of lsp-zero should work without any extra config. v2.x also has a tutorial on how to work with nvim-jdtls: setup with nvim-jdtls
-
Help me to get the best python Neovim environment
Creator of lsp-zero suggested a complete solution to use ray-x/lsp_signature in this issue: https://github.com/VonHeikemen/lsp-zero.nvim/issues/69.
-
Fix html - css - js
I use lsp-zero which lets me handle lsp and completition easily as it bundles a bunch of plugins such as lsp-config, cmp and Mason. Here it is: https://github.com/VonHeikemen/lsp-zero.nvim
nvim-cmp
-
cmp border background is changed all of a sudden.
Doing a fast scan on the commit history this is probably related to https://github.com/hrsh7th/nvim-cmp/pull/1689 . Hope it helps.
-
Do I need NeoVIM?
https://github.com/hrsh7th/nvim-cmp This is an autocompletion engine https://github.com/nvim-treesitter/nvim-treesitter This allows NeoVim to install parsing scripts so NeoVim can do things like code highlighting. https://github.com/williamboman/mason.nvim Not strictly necessary, but allows you to access a repo of LSP, install them, and configure them for without you actively messing about in config files. https://github.com/neovim/nvim-lspconfig Also not strictly necessary, but vastly simplifies LSP setup. https://github.com/williamboman/mason-lspconfig.nvim This lets the above two plugins talk to each other more easily.
-
[Need Help]: I am having trouble getting autocomplete with clangd.
You need to add nvim-cmp and cmp-nvim-lsp
-
Enabling python's snippets.
I don't know about lsp-zero since I don't use it, but to get luasnip auto completions from nvim-cmp you should add luasnip to its sources. Then you should get auto completions. Check the recommended configuration of nvim-cmp.
-
How to test lsp performance
However, many language clients are indeed sensitive to the latency of language servers like https://github.com/ray-x/lsp_signature.nvim and https://github.com/hrsh7th/nvim-cmp, and I do not have the ability to improve them.
PS: I suspect that this https://github.com/hrsh7th/nvim-cmp/issues/1606 may also be related to some slower lsp.
-
What plugins do you use to manage html tags in jsx/tsx files?
nvim-cmp + emmet_ls
- I've been away for ~3 years and my config is vimscript-coc-plug-etc. Worth moving to the 'new thing', and good resources to get up to date?
-
How could one learn to customize Neovim?
nvim-cmp : Code Completion
- neovim and platformio tutorial
What are some alternatives?
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
cmp-nvim-lsp - nvim-cmp source for neovim builtin LSP client
coq.artifacts
completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
nvim-lspconfig - Quickstart configs for Nvim LSP
LuaSnip - Snippet Engine for Neovim written in Lua.
rust-tools.nvim - Tools for better development in rust using neovim's builtin lsp
ddc.vim - Dark deno-powered completion framework for neovim/Vim
coc-r-lsp - R LSP Client for coc.nvim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer