[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot c32e9bf66a 1/2: Close #1013: Add Marksman server
From: |
ELPA Syncer |
Subject: |
[elpa] externals/eglot c32e9bf66a 1/2: Close #1013: Add Marksman server for Markdown |
Date: |
Thu, 8 Sep 2022 06:57:42 -0400 (EDT) |
branch: externals/eglot
commit c32e9bf66a91d432b4d0ae46cc01b232d49f04fc
Author: Artem Pyanykh <arr@fb.com>
Commit: GitHub <noreply@github.com>
Close #1013: Add Marksman server for Markdown
* 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 40b9edb172..7fb4b49992 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 9d340f19bc..9f341b27ff 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 14e7980d38..a04a4f762d 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