From: João Távora Date: Mon, 26 Sep 2022 12:35:34 +0000 (+0100) Subject: Make clojure-lsp handle more major modes at once X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1780b93d664e6f4b4678d240333d7011e1a9f1ad;p=emacs.git Make clojure-lsp handle more major modes at once Suggested-by: Witoslaw Koczewski * eglot.el (eglot-server-programs): Enhance clojure-specific section. GitHub-reference: per https://github.com/joaotavora/eglot/issues/682 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 6a1eb1282c7..58a150cf48b 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -197,7 +197,8 @@ language-server/bin/php-language-server.php")) (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")) - (clojure-mode . ("clojure-lsp")) + ((clojure-mode clojurescript-mode clojurec-mode) + . ("clojure-lsp")) (csharp-mode . ("omnisharp" "-lsp")) (purescript-mode . ("purescript-language-server" "--stdio")) (perl-mode . ("perl" "-MPerl::LanguageServer" "-e" "Perl::LanguageServer::run"))