From d44340815666c633e0d20eb32959f45140664dc9 Mon Sep 17 00:00:00 2001 From: Fredrik Bergroth Date: Thu, 13 Dec 2018 12:55:28 +0100 Subject: [PATCH] Apply eglot--format-markup to signature documentation Copyright-paperwork-exempt: yes * eglot.el (eglot--sig-info): Call eglot--format-markup on signature documentation. --- lisp/progmodes/eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index db4fbb4a7a5..2b51c2155bc 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1951,7 +1951,7 @@ is not active." (setq documentation (match-string 1 documentation)) (unless (string-prefix-p (string-trim documentation) label) (goto-char (point-max)) - (insert ": " documentation))) + (insert ": " (eglot--format-markup documentation)))) (when (and (eql i active-sig) active-param (< -1 active-param (length parameters))) (eglot--dbind ((ParameterInformation) label documentation) -- 2.39.2