We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2300e94 + 7633231 commit e8f3e7bCopy full SHA for e8f3e7b
lsp-ui-doc.el
@@ -271,6 +271,8 @@ We don't extract the string that `lps-line' is already displaying."
271
"\n\n"
272
;; (propertize "\n\n" 'face '(:height 0.4))
273
))
274
+ ;; when we get markdown contents, render using emacs gfm-view-mode / markdown-mode
275
+ ((string= (gethash "kind" contents) "markdown") (lsp-ui-doc--extract-marked-string contents))
276
((gethash "kind" contents) (gethash "value" contents)) ;; MarkupContent
277
((gethash "language" contents) ;; MarkedString
278
(lsp-ui-doc--extract-marked-string contents))))
0 commit comments