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.
1 parent 71c1a57 commit bf69f98Copy full SHA for bf69f98
lsp-ui-doc.el
@@ -439,7 +439,7 @@ FN is the function to call on click."
439
(erase-buffer)
440
(let ((inline-p (lsp-ui-doc--inline-p)))
441
(insert (concat (unless inline-p (propertize "\n" 'face '(:height 0.2)))
442
- (string-trim-right string)
+ (string-trim string "[\n]+")
443
(unless inline-p (propertize "\n\n" 'face '(:height 0.3))))))
444
(lsp-ui-doc--make-clickable-link)
445
(setq-local face-remapping-alist `((header-line lsp-ui-doc-header)))
0 commit comments