From 32481e7ae22ae04fbfb0138d3cb516951d3a771c Mon Sep 17 00:00:00 2001 From: Artem Pyanykh Date: Sun, 21 Aug 2022 21:00:30 +0100 Subject: [PATCH] Add Marksman server * eglot.el (eglot-server-programs): Update. * README (Connecting to a server): Add marksman. * NEWS.md: Mention change. Copyright-paperwork-exempt: yes --- NEWS.md | 4 +++- README.md | 2 ++ eglot.el | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 40b9edb1..7fb4b499 100644 --- a/NEWS.md +++ b/NEWS.md @@ -55,6 +55,7 @@ available. The special support code for RLS has been removed. - futhark lsp ([#922][github#922]) - purescript-language-server ([#905][github#905]) - Perl::LanguageServer ([#952][github#952]) +- marksman ([#1013][github#1013]) # 1.8 (12/1/2022) @@ -388,4 +389,5 @@ and now said bunch of references--> [github#905]: https://github.com/joaotavora/eglot/issues/905 [github#922]: https://github.com/joaotavora/eglot/issues/922 [github#952]: https://github.com/joaotavora/eglot/issues/952 -[github#967]: https://github.com/joaotavora/eglot/issues/967 \ No newline at end of file +[github#967]: https://github.com/joaotavora/eglot/issues/967 +[github#1013]: https://github.com/joaotavora/eglot/pull/1013 diff --git a/README.md b/README.md index 9d340f19..9f341b27 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ find-library` can help you tell if that happened. * Javascript's [TS & JS Language Server][typescript-language-server] * Kotlin's [kotlin-language-server][kotlin-language-server] * Lua's [lua-lsp][lua-lsp] +* Markdown's [marksman][marksman] * Mint's [mint-ls][mint-ls] * Nix's [rnix-lsp][rnix-lsp] * Ocaml's [ocaml-lsp][ocaml-lsp] @@ -582,6 +583,7 @@ for the request form, and we'll send it to you. [typescript-language-server]: https://github.com/theia-ide/typescript-language-server [kotlin-language-server]: https://github.com/fwcd/KotlinLanguageServer [lua-lsp]: https://github.com/Alloyed/lua-lsp +[marksman]: https://github.com/artempyanykh/marksman [mint-ls]: https://www.mint-lang.com/ [rnix-lsp]: https://github.com/nix-community/rnix-lsp [ocaml-lsp]: https://github.com/ocaml/ocaml-lsp/ diff --git a/eglot.el b/eglot.el index 14e7980d..a04a4f76 100644 --- a/eglot.el +++ b/eglot.el @@ -197,7 +197,8 @@ language-server/bin/php-language-server.php")) (clojure-mode . ("clojure-lsp")) (csharp-mode . ("omnisharp" "-lsp")) (purescript-mode . ("purescript-language-server" "--stdio")) - (perl-mode . ("perl" "-MPerl::LanguageServer" "-e" "Perl::LanguageServer::run"))) + (perl-mode . ("perl" "-MPerl::LanguageServer" "-e" "Perl::LanguageServer::run")) + (markdown-mode . ("marksman" "server"))) "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