projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e79b4cc
)
Fix invocation of elixir LSP server on MS-Windows
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 24 Mar 2023 18:37:11 +0000
(21:37 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 24 Mar 2023 18:37:11 +0000
(21:37 +0300)
* lisp/progmodes/eglot.el (eglot-server-programs): Invoke the
elixir-ls LSP via a batch file if using an MS-Windows shell.
(Bug#62407)
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 806e498c38cbcc022aa121ec721fda4f34e84ee5..cc9c8115b08c056537dd2b97f2a95f9c3043cd1c 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-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")))