You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
since a couple of days I have problems using the Lua-Language-Server using mason-lspconfig. Everytime I try to open any file, the lua client crashes. It seems the binary is not executable although i have already ran "chmod +x ./lua-language-server".
Why do you think this is an issue with mason-lspconfig.nvim?
The lua-language-server binary is part of the mason-lsp install system.
Hey! NixOS generally cannot execute binaries that have been dynamically linked. In order to run these you need to patch these using tools like patchelf. However, I'd strongly recommend installing these packages through NixOS's package manager instead of Mason. Doing it through other software (such as Mason) is just fighting the distro, imo.
@williamboman Hey. I know i'm a bit late for the discussion but isn't the point of having a plugin that downloads the tooling we use to program like language servers, linters, etc, to avoid the chore of having to download each of these tools through many other sources, and instead download it through a unified interface?
Problem description
Hello,
since a couple of days I have problems using the Lua-Language-Server using mason-lspconfig. Everytime I try to open any file, the lua client crashes. It seems the binary is not executable although i have already ran "chmod +x ./lua-language-server".
Why do you think this is an issue with mason-lspconfig.nvim?
The lua-language-server binary is part of the mason-lsp install system.
Neovim version (>= 0.7)
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3
Operating system/version
Linux nixos 5.15.83 #1-NixOS SMP Wed Dec 14 10:37:31 UTC 2022 x86_64 GNU/Linux
I've manually reviewed the Nvim LPS client log (
:LspLog
) to find potential errorsI've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig
Affected language servers
lua-language-server
Steps to reproduce
Actual behavior
Client Crash; file not executable
Expected behavior
Ability of using the LSP in the file.
LspInfo
LspLog
No response
Healthcheck
Screenshots or recordings
The same error like in LspLog
The text was updated successfully, but these errors were encountered: