summaryrefslogtreecommitdiff
path: root/doc/misc/eglot.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc/eglot.texi')
-rw-r--r--doc/misc/eglot.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi
index d501fe32d5d..c7c296c24ff 100644
--- a/doc/misc/eglot.texi
+++ b/doc/misc/eglot.texi
@@ -996,6 +996,18 @@ same language server. That file is still outside your project
will consider it to be part of the workspace. The default is
@code{nil}.
+@cindex markdown renderer
+@item eglot-documentation-renderer
+This variable controls how Eglot renders at-point documentation
+imported from the server (@pxref{Eglot Features}). By default, the
+variable's value is set during startup to a markdown renderer if
+available, either @code{markdown-ts-view-mode} or
+@code{gfm-view-mode}. These utilities visually enhance the
+documentation content through fontification and other formatting. If
+you set it to @code{t}, plain text will be requested from the server
+and no rendering is attempted. If the variable's value is @code{nil},
+Eglot will attempt to find a suitable renderer every time.
+
@item eglot-mode-map
This variable is the keymap for binding Eglot-related command. It is in
effect only as long as the buffer is managed by Eglot. By default, it