diff --git a/lsp-completion.el b/lsp-completion.el index ed184487bd..2007217e9e 100644 --- a/lsp-completion.el +++ b/lsp-completion.el @@ -482,9 +482,14 @@ The MARKERS and PREFIX value will be attached to each candidate." ((and (equal kind "markdown") (not (string-match-p (regexp-quote detail?) value))) - (lsp--render-string - (concat "```\n" detail? "\n```\n---\n" value) - kind))))) + (concat + (propertize detail? 'face 'fixed-pitch) + (lsp--render-string + (concat + "\n---\n" + value) + kind) + ))))) ((and (stringp documentation?) (not (string-match-p (regexp-quote detail?) documentation?)))