[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 adf9c956c28: Add to Eglot support for additional language-serve
From: |
Eli Zaretskii |
Subject: |
emacs-29 adf9c956c28: Add to Eglot support for additional language-servers. |
Date: |
Sat, 15 Apr 2023 05:19:54 -0400 (EDT) |
branch: emacs-29
commit adf9c956c28106f83f06bd150d01bced9b19c1c1
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Eli Zaretskii <eliz@gnu.org>
Add to Eglot support for additional language-servers.
* lisp/progmodes/eglot.el (eglot-server-programs): Add
'vscode-markdown-language-server' for Markdown and
'dot-language-server' for GraphViz. (Bug#62844)
---
lisp/progmodes/eglot.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index a0581126b28..4943b44107a 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -249,7 +249,11 @@ chosen (interactively or automatically)."
("csharp-ls"))))
(purescript-mode .
("purescript-language-server" "--stdio"))
((perl-mode cperl-mode) . ("perl"
"-MPerl::LanguageServer" "-e" "Perl::LanguageServer::run"))
- (markdown-mode . ("marksman" "server")))
+ (markdown-mode
+ . ,(eglot-alternatives
+ '(("marksman" "server")
+ ("vscode-markdown-language-server"
"--stdio"))))
+ (graphviz-dot-mode . ("dot-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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 adf9c956c28: Add to Eglot support for additional language-servers.,
Eli Zaretskii <=