branch: externals/eglot commit 7f1f09347214ebb6e0395f3e27a04f87f544ffdd Author: Tomasz Hołubowicz <45176912+alternate...@users.noreply.github.com> Commit: GitHub <nore...@github.com>
Close #905: Add out-of-box support for PureScript LSP server * eglot.el (eglot-server-programs): Support purescript lsp. * README.md: Update. * NEWS.md: Update. Copyright-paperwork-exempt: Yes --- NEWS.md | 2 ++ README.md | 2 ++ eglot.el | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 5ef15eac22..9f77dfc398 100644 --- a/NEWS.md +++ b/NEWS.md @@ -46,6 +46,7 @@ available. The special support code for RLS has been removed. - clojure-lsp ([#813][github#813]) - racket-langserver ([#694][github#694]) - futhark lsp ([#922](github#922)) +- purescript-language-server ([#905](github#905)) # 1.8 (12/1/2022) @@ -375,4 +376,5 @@ and now said bunch of references--> [github#893]: https://github.com/joaotavora/eglot/issues/893 [github#899]: https://github.com/joaotavora/eglot/issues/899 [github#901]: https://github.com/joaotavora/eglot/issues/901 +[github#905]: https://github.com/joaotavora/eglot/issues/905 [github#922]: https://github.com/joaotavora/eglot/issues/922 diff --git a/README.md b/README.md index 376c7a0d46..010ab30dcf 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ find-library` can help you tell if that happened. * Nix's [rnix-lsp][rnix-lsp] * Ocaml's [ocaml-lsp][ocaml-lsp] * PHP's [php-language-server][php-language-server] +* PureScript's [purescript-language-server][purescript-language-server] * Python's [pylsp][pylsp], [pyls][pyls] or [pyright][pyright] * R's [languageserver][r-languageserver] * Racket's [racket-langserver][racket-langserver] @@ -522,6 +523,7 @@ for the request form, and we'll send it to you. [rnix-lsp]: https://github.com/nix-community/rnix-lsp [ocaml-lsp]: https://github.com/ocaml/ocaml-lsp/ [php-language-server]: https://github.com/felixfbecker/php-language-server +[purescript-language-server]: https://github.com/nwolverson/purescript-language-server [pyls]: https://github.com/palantir/python-language-server [pylsp]: https://github.com/python-lsp/python-lsp-server [pyright]: https://github.com/microsoft/pyright diff --git a/eglot.el b/eglot.el index fd82b76c5b..3d1b19c905 100644 --- a/eglot.el +++ b/eglot.el @@ -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