]> git.eshelyaron.com Git - emacs.git/commitdiff
Add "lexical" LSP server for Elixir to Eglot
authordalu <mou.tong@outlook.com>
Thu, 17 Aug 2023 10:34:42 +0000 (18:34 +0800)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 Aug 2023 14:09:15 +0000 (17:09 +0300)
* lisp/progmodes/eglot.el (eglot-server-programs): Add lexical.
It does not support MS-Windows currently.  (Bug#65359)

Copyright-paperwork-exempt: yes

lisp/progmodes/eglot.el

index 113ff08e94e95ae06ab64e846e60e7848c304677..65daa0941d5c957879143be408f1043b7f9ef62f 100644 (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")))