aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordalu2023-08-17 18:34:42 +0800
committerEli Zaretskii2023-08-19 17:09:15 +0300
commit9e0524a8820fbb8fdb155b1ca58919dcfcaffd63 (patch)
treef33178d63f86d80cc56f0c7c3de07c2a08b45c51
parenta85f31c4a4d37f5d39a99e79cc32be172d49603f (diff)
downloademacs-9e0524a8820fbb8fdb155b1ca58919dcfcaffd63.tar.gz
emacs-9e0524a8820fbb8fdb155b1ca58919dcfcaffd63.zip
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
-rw-r--r--lisp/progmodes/eglot.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 113ff08e94e..65daa0941d5 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -222,7 +222,8 @@ chosen (interactively or automatically)."
222 . ,(if (and (fboundp 'w32-shell-dos-semantics) 222 . ,(if (and (fboundp 'w32-shell-dos-semantics)
223 (w32-shell-dos-semantics)) 223 (w32-shell-dos-semantics))
224 '("language_server.bat") 224 '("language_server.bat")
225 '("language_server.sh"))) 225 (eglot-alternatives
226 '("language_server.sh" "start_lexical.sh"))))
226 (ada-mode . ("ada_language_server")) 227 (ada-mode . ("ada_language_server"))
227 (scala-mode . ,(eglot-alternatives 228 (scala-mode . ,(eglot-alternatives
228 '("metals" "metals-emacs"))) 229 '("metals" "metals-emacs")))