This commit broke detection of csharp-ls. I am not sure what was the purpose of the
change. The function it added says it checks whether csharp-ls is present in
the system, however the function lsp-csharp--cls-make-launch-cmd always did the
same and better. So why have this additional check is not at all clear.
The function was assuming that a dotnet tool list -g should return
if csharp-ls is installed, however for me its output is just empty:
λ dotnet tool list -g
Package Id Version Commands
-------------------------------------
This commit broke detection of
csharp-ls
. I am not sure what was the purpose of the change. The function it added says it checks whethercsharp-ls
is present in the system, however the functionlsp-csharp--cls-make-launch-cmd
always did the same and better. So why have this additional check is not at all clear.The function was assuming that a
dotnet tool list -g
should return ifcsharp-ls
is installed, however for me its output is just empty:Let's revert this commit.
Fixes: https://github.com/emacs-lsp/lsp-mode/issues/4365 CC: @razzmatazz the original commit author