From: Derek Passen Date: Wed, 19 Jan 2022 01:56:13 +0000 (-0600) Subject: Add clojure-lsp support for clojure X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~79 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a9959e054b1faf8305354e1ff7e6e1e92a216a2;p=emacs.git Add clojure-lsp support for clojure * eglot.el (eglot-server-programs): Add clojure-lsp for Clojure. * README.md: Document the above change. Copyright-paperwork-exempt: Yes --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 219bcc85bd9..10e16162746 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -187,7 +187,8 @@ language-server/bin/php-language-server.php")) (css-mode . ,(eglot-alternatives '(("vscode-css-language-server" "--stdio") ("css-languageserver" "--stdio")))) (html-mode . ,(eglot-alternatives '(("vscode-html-language-server" "--stdio") ("html-languageserver" "--stdio")))) (json-mode . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio") ("json-languageserver" "--stdio")))) - (dockerfile-mode . ("docker-langserver" "--stdio"))) + (dockerfile-mode . ("docker-langserver" "--stdio")) + (clojure-mode . ("clojure-lsp"))) "How the command `eglot' guesses the server to start. An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE identifies the buffers that are to be managed by a specific