Add "lexical" LSP server for Elixir to Eglot

* lisp/progmodes/eglot.el (eglot-server-programs): Add lexical.
It does not support MS-Windows currently.  (Bug#65359)

Copyright-paperwork-exempt: yes
This commit is contained in:
dalu 2023-08-17 18:34:42 +08:00 committed by Eli Zaretskii
parent a85f31c4a4
commit 9e0524a882

View file

@ -222,7 +222,8 @@ chosen (interactively or automatically)."
. ,(if (and (fboundp 'w32-shell-dos-semantics)
(w32-shell-dos-semantics))
'("language_server.bat")
'("language_server.sh")))
(eglot-alternatives
'("language_server.sh" "start_lexical.sh"))))
(ada-mode . ("ada_language_server"))
(scala-mode . ,(eglot-alternatives
'("metals" "metals-emacs")))