bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61312: Patch for eglot: scala LSP binary name


From: skykanin
Subject: bug#61312: Patch for eglot: scala LSP binary name
Date: Sun, 05 Feb 2023 21:15:48 +0000

Hello,

It seems that eglot expects the scala metals LSP server binary to be named 
`metals-emacs` instead of `metals`. The included patch fixes this behaviour. At 
least in the nix package manager the `metals` binary is simply call 'metals'. 
However if other package managers distribute an alias for the binary as 
'metals-emacs' as well we could instead do something like:
```
(scala-mode . ,(eglot-alternatives '("metals" "metals-emacs"))
```

Attachment: 0001-Patch-eglot-scala-LSP-server-binary-name.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]