lsp-zero.nvim
A starting point to setup some lsp related features in neovim. (by VonHeikemen)
lua-language-server
A language server that offers Lua language support - programmed in Lua (by LuaLS)
Our great sponsors
lsp-zero.nvim | lua-language-server | |
---|---|---|
130 | 79 | |
3,502 | 2,988 | |
- | 4.1% | |
9.3 | 9.4 | |
7 days ago | 5 days ago | |
Lua | Lua | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of lsp-zero.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-14.
-
jdtls debugging "Could not resolve java executable: Index 1 out of bounds for length 1"
I'm using lsp-zero and i followed this tutorial https://github.com/VonHeikemen/lsp-zero.nvim/blob/v2.x/doc/md/guides/setup-with-nvim-jdtls.md and i have essentially just copy pasted the code from there into ~/.config/nvim/lua/plugin/jdtls.lua
- Embracing Neovim: Navigating Configuration Challenges and Seeking Guidance
-
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
-
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.
-
Is there a way to configure LSP to 'just work'?
Try https://github.com/VonHeikemen/lsp-zero.nvim, a great introduction and it is pretty usable without any further config
-
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.
lua-language-server
Posts with mentions or reviews of lua-language-server.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-01.
-
Some questions about code formatting with lsp-zero and mason
Check the documentation of lua_ls
-
Beginner question: is there any coding standard for documenting Lua functions or tables emulating OOP?
You can use LLS extension for VSCode. Documentation: https://github.com/LuaLS/lua-language-server/wiki/Annotations
-
Lua: The Little Language That Could
There's lua-language-server which works with types defined in definition files and/or annotations in comments.
-
Documentation Comment highlighting with TreeSitter
Lastly, neovim now supports semantic token highlighting which uses semantic tokens from LSP servers to provide even better, language specific highlighting. Some LSP servers support semantic tokens for doc comments. The lua language server is a good example. Unfortunately, if you're using a language like C or C++, the language servers do not provide semantic tokens for comments because doxygen style comments are not specific to those languages so you might be out of luck for semantic token highlighting.
-
This little thing bugs me: in lua LSP popup content, the closing paren is always highlighted red
I think it is because the language server send a different type for the first line: https://github.com/LuaLS/lua-language-server/blob/eeffd1462b892fda5d01282acf840ba0e154e467/script/core/hover/label.lua (might be one of the other files here, not label)
-
How to add lua-language-server to $PATH
And I was reading this installation guide and after "./bin/lua-language-server " I get this in terminal
-
New to lua
Not sure about typescript but there is a jsdoc equivalent: https://github.com/LuaLS/lua-language-server/wiki/Annotations
-
How complex can I make games in Lua?
Lua with lua-language-server and annotated types is a much nicer experience.
-
mini.nvim - release of version 0.8.0
For it to be language-aware (like provide suggestions for module/table/class methods/fields) you also need language server (like lua_ls for Lua). But even without it you should see suggestions from fallback method. If you don't, then 'mini.completion' is not installed and/or activated.
-
PSA: Changes to the mason.nvim registry
I also want to thank current & past GitHub sponsors who help finance costs associated with the plugin. I regularly pay the surplus forward to other devs whose tooling I heavily rely on (huge shout-out to sumneko for working on the Lua language server, without it a plugin of the complexity of mason.nvim would be impossible, go sponsor them here).
What are some alternatives?
When comparing lsp-zero.nvim and lua-language-server you can also consider the following projects:
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
lua-lsp - A Lua language server
nvim-lspconfig - Quickstart configs for Nvim LSP
luacheck - A tool for linting and static analysis of Lua code.
mason-lspconfig.nvim - Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!
lsp-mode - Emacs client/library for the Language Server Protocol
nvim-cmp - A completion plugin for neovim coded in Lua.
love-api - The whole LÖVE wiki in a Lua table.
lsp-zero.nvim vs null-ls.nvim
lua-language-server vs lua-lsp
lsp-zero.nvim vs nvim-lspconfig
lua-language-server vs luacheck
lsp-zero.nvim vs mason-lspconfig.nvim
lua-language-server vs coc.nvim
lsp-zero.nvim vs nvim-lsp-installer
lua-language-server vs lsp-mode
lsp-zero.nvim vs nvim-cmp
lua-language-server vs nvim-cmp
lsp-zero.nvim vs coc.nvim
lua-language-server vs love-api