fix: lua_ls no longer exists in mason registry#1847
fix: lua_ls no longer exists in mason registry#1847veonim wants to merge 3 commits intonvim-lua:masterfrom
Conversation
|
This can be fixed by adding Personally, I think this is the cleaner way because it bridges the gap between lspconfig and mason and allows the installation and auto-enabling of lsp servers by the actual configuration name so maintaining the project will be easier over time. |
|
@vimjeremy Yeah, it did handled that perfectly. Thanks for suggestion, updated the PR |
|
If it means anything, I can confirm it works like a charm. |
c8bb937 to
141a232
Compare
|
Thanks for this! |
I'm a noob at this. At what line exactly in init.lua do I add this? And what should it look like exactly after I add it? |
|
Hey @badbabykosh , you'll want to add that dependency somewhere around this line. I added it right after. |
I just did a fresh install today and was thrown into an error that lua_ls not found.
Switched to lua-language-server, making this PR for base repository because other people might face this issue.
Edit:
Added
{ "mason-org/mason-lspconfig.nvim", opts = {} }based on the comment of vimjeremy, worked flawlessly