It seems that eglot was expecting the scala metals LSP server binary to be named metals-emacs instead of metals. This PR patches this behaviour. At least in nix the metals binary is simply call metals. However if other package managers distribute the binary as metals-emacs as well we could instead do something like:
It seems that
eglot
was expecting the scala metals LSP server binary to be namedmetals-emacs
instead ofmetals
. This PR patches this behaviour. At least in nix the metals binary is simply callmetals
. However if other package managers distribute the binary asmetals-emacs
as well we could instead do something like: