]> git.eshelyaron.com Git - emacs.git/commitdiff
Add out-of-box support for purescript lsp server
authorTomasz Hołubowicz <45176912+alternateved@users.noreply.github.com>
Wed, 27 Apr 2022 11:48:47 +0000 (13:48 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Apr 2022 11:48:47 +0000 (12:48 +0100)
* eglot.el (eglot-server-programs): Support purescript lsp.
* README.md: Update.
* NEWS.md: Update.

Copyright-paperwork-exempt: Yes
GitHub-reference: close https://github.com/joaotavora/eglot/issues/905

lisp/progmodes/eglot.el

index fd82b76c5b9eeb37848a82ef44e22990ed2838c5..3d1b19c905ba5af9262c4c919b66b855117f623d 100644 (file)
@@ -195,7 +195,8 @@ language-server/bin/php-language-server.php"))
                                 (json-mode . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio") ("json-languageserver" "--stdio"))))
                                 (dockerfile-mode . ("docker-langserver" "--stdio"))
                                 (clojure-mode . ("clojure-lsp"))
-                                (csharp-mode . ("omnisharp" "-lsp")))
+                                (csharp-mode . ("omnisharp" "-lsp"))
+                                (purescript-mode . ("purescript-language-server" "--stdio")))
   "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