Hi all,
I have configured my neovim according to this thread - thanks for the awesome work on that one, btw!
As I am working on an Arch-based Linux system (Artix, to be precise), I had installed the language server from the AUR, where the package version 0.13.0 worked nicely.
However, after upgrading to package version 0.14.6, every time I open an elixir file I’ll get the message Client 1 quit with exit code 1 and signal 0
after a few seconds. Restarting the server with :LspStart
will result in the same message.
I have tried installing elixir-ls via mason as well, which will display the same error. Downgrading to v013.0, which worked formerly, also doesn’t help.
I even created a new user, set up neovim from scratch for him, and ran into the same problem. This is also true when I use the exact init.lua-file given in the tutorial - with the path to elixir-ls set correctly, of course.
Checking the lsp.log reveals the following error, which unfortunately I can’t make much of:
[START][2023-06-15 13:47:58] LSP logging initiated
[ERROR][2023-06-15 13:47:58] .../vim/lsp/rpc.lua:734 "rpc" "/home/torro/.local/share/nvim/mason/packages/elixir-ls/language_server.sh" "stderr" "Runtime terminating during boot ({badarg,[{io,put_chars,[standard_err"
[ERROR][2023-06-15 13:47:58] .../vim/lsp/rpc.lua:734 "rpc" "/home/torro/.local/share/nvim/mason/packages/elixir-ls/language_server.sh" "stderr" "or,[_]],[{_},{_},{_}]},{Elixir.Kernel.CLI,exec_fun,2,[{_},{_}]},{Elixir.Kernel.CLI,run,1,[{_},{_}]},{init,start_em,1,[]},{init,do_boot,3,[]}]})\r\n"
[ERROR][2023-06-15 13:47:58] .../vim/lsp/rpc.lua:734 "rpc" "/home/torro/.local/share/nvim/mason/packages/elixir-ls/language_server.sh" "stderr" "\r\nCrash dump is being written to: erl_crash.dump..."
[ERROR][2023-06-15 13:47:59] .../vim/lsp/rpc.lua:734 "rpc" "/home/torro/.local/share/nvim/mason/packages/elixir-ls/language_server.sh" "stderr" "done\r\n"
I’d appreciate any help or pointers where to continue searching a solution!
Thank you for your trouble!