Closed bfolkens closed 4 years ago
This project has moved!
It's now being maintained by proactive volunteers from the Elixir community over at elixir-lsp/elixir-ls. Updates will continue to be published from that repo to the original VS Code extension, so no need to switch plugins if you're using VS Code.
To avoid inundating the new maintainers with issues, please verify that your issue persists with the latest version of the extension (which is published from the new repo) before re-filing your issue there.
Thanks for using ElixirLS!
Description
When exiting Neovim using vim-lsc, message "[lsc:Error] ElixirLS has crashed. See Output panel." is shown. Upon investigation, ElixirLS is throwing an exception (below).
I had originally opened this as #207, with the conclusion that it was the shutdown method being called out of order. However, after further investigation I noticed the
requestMessage
protocol definition may not be to spec. In the specification, theparams
is optional. However, in the code it seems to only expect the 3 arity variant:%{"id" => _, "method" => _, "params" => _, "jsonrpc" => "2.0"}
.Possibly related: #189
Steps to Reproduce
Expected Behavior
The language server should exit cleanly.
Actual Behavior
ElixirLS crashes with the following:
Environment
Elixir & Erlang versions (elixir --version):
Operating system:
MacOS Catalina - 10.15.3 (19D76)
Client (editor or IDE):