mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-07 08:00:48 -08:00
Fix invocation of elixir LSP server on MS-Windows
* lisp/progmodes/eglot.el (eglot-server-programs): Invoke the elixir-ls LSP via a batch file if using an MS-Windows shell. (Bug#62407)
This commit is contained in:
parent
e79b4ccd79
commit
4a2dccd6a6
1 changed files with 4 additions and 1 deletions
|
|
@ -222,7 +222,10 @@ chosen (interactively or automatically)."
|
|||
(dart-mode . ("dart" "language-server"
|
||||
"--client-id" "emacs.eglot-dart"))
|
||||
((elixir-mode elixir-ts-mode heex-ts-mode)
|
||||
. ("language_server.sh"))
|
||||
. ,(if (and (fboundp 'w32-shell-dos-semantics)
|
||||
(w32-shell-dos-semantics))
|
||||
'("language_server.bat")
|
||||
'("language_server.sh")))
|
||||
(ada-mode . ("ada_language_server"))
|
||||
(scala-mode . ,(eglot-alternatives
|
||||
'("metals" "metals-emacs")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue