Variable: eglot-documentation-renderer

eglot-documentation-renderer is a customizable variable defined in eglot.el.gz.

Value

nil

Documentation

Controls rendering of LSP documentation fragments.

If set to a major mode symbol like gfm-view-mode, or the experimental markdown-ts-view-mode, request markdown snippets and use that mode to render them. If t, request and render plain text instead. If nil, request markdown snippets and select a renderer dynamically.

This variable was added, or its default value changed, in Eglot version 1.24.

Aliases

eglot-prefer-plaintext (obsolete since 1.24)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defcustom eglot-documentation-renderer nil
  "Controls rendering of LSP documentation fragments.
If set to a major mode symbol like `gfm-view-mode', or the experimental
`markdown-ts-view-mode', request markdown snippets and use that mode to
render them.  If t, request and render plain text instead.  If nil,
request markdown snippets and select a renderer dynamically."
  :type '(choice (const :tag "Plain text" t)
                (const :tag "Auto-detect" nil)
                (function :tag "Renderer"))
  :package-version '(Eglot . "1.24"))