]> git.eshelyaron.com Git - emacs.git/commitdiff
Add clojure-lsp support for clojure
authorDerek Passen <dpassen1@gmail.com>
Wed, 19 Jan 2022 01:56:13 +0000 (19:56 -0600)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 19 Jan 2022 21:06:34 +0000 (22:06 +0100)
* eglot.el (eglot-server-programs): Add clojure-lsp for Clojure.
* README.md: Document the above change.

Copyright-paperwork-exempt: Yes

lisp/progmodes/eglot.el

index 219bcc85bd9c984b36e3aaedb90e5c51ca050711..10e16162746250cc147509880b5e718dec53939c 100644 (file)
@@ -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