summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2026-05-08 22:22:49 +0100
committerJoão Távora <joaotavora@gmail.com>2026-05-14 11:05:30 +0100
commitaba60ad0c5be8f657230649df9b78db534027a20 (patch)
tree53c4918a448d3cf9ee8ffc808136df1bea65a756 /doc
parent689c3bd5088c385fda6ce8054eb659737080d694 (diff)
Eglot: prefer markdown-ts-view-mode for markup rendering (bug#80127)
Eglot previously needed gfm-view-mode from markdown-mode.el to render Markdown from LSP servers. It now prefers markdown-ts-view-mode when available. * lisp/progmodes/eglot.el (eglot--accepted-formats): Recognize markdown-ts-view-mode as a Markdown renderer. (eglot--format-markup): Rework with cl-labels; prefer markdown-ts-view-mode over gfm-view-mode. * doc/misc/eglot.texi (Eglot Features): Don't mention markdown-mode directly. * etc/EGLOT-NEWS: Mention change
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/eglot.texi9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi
index 3deabb894c0..59cecbbc0c4 100644
--- a/doc/misc/eglot.texi
+++ b/doc/misc/eglot.texi
@@ -488,12 +488,11 @@ completion package to instantiate these snippets using YASnippet.
(YASnippet can be installed from GNU ELPA.)
@item
-If the popular third-party package @code{markdown-mode} is installed,
-and the server provides at-point documentation formatted as Markdown in
+When the server provides at-point documentation formatted as Markdown in
addition to plain text, Eglot arranges for the ElDoc package to enrich
-this text with fontifications and other nice formatting before
-displaying it to the user. This makes the documentation shown by ElDoc
-look nicer on display.
+this text with fontifications, hyperlinks and other nice formatting
+before displaying it to the user. This makes the documentation shown by
+ElDoc look nicer on display.
@item
In addition to enabling and enhancing other features and packages, Eglot