Closed trevarj closed 3 years ago
User error, sorry.
How did you fix it?
@vuki656 make the lua-language-server
executable with chmod +x lua-language-server
Looking at this again, I wouldn't call it user error @trevarj (though I appreciate you finding a solution) this is probably something this extension should do... especially since the instructions don't tell people they need to make it executable. Thanks for bringing it up (again)!
For anyone else this may help I had installed the lua lsp using :LspInstall command this expects your lua language server to be placed at a specific location. Make sure once you have compiled it you have it in the correct place.
https://github.com/sumneko/lua-language-server/wiki/Build-and-Run-(Standalone) https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md#sumneko_lua
I saw this error today while setting up sumenko_lua lsp. I moved the executable to a different folder and forgot to update the path info in the lsp-config.lua file.
My fault, but the error was not informative in this case. It should have told me that the exe lua-language-server cannot be found.
@m42martin good to know! I will try to get to that when I have a free moment.
I'm having this error when I use the following config:
Config: