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 9a692a1 commit 4cdd1e9Copy full SHA for 4cdd1e9
lsp-mode.el
@@ -4841,7 +4841,7 @@ When language is nil render as markup if `markdown-mode' is loaded."
4841
4842
(cl-defgeneric lsp-clients-extract-signature-on-hover (contents _server-id)
4843
"Extract a representative line from CONTENTS, to show in the echo area."
4844
- (car (s-lines (lsp--render-element contents))))
+ (car (s-lines (s-trim (lsp--render-element contents)))))
4845
4846
(defun lsp--render-on-hover-content (contents render-all)
4847
"Render the content received from 'document/onHover' request.
0 commit comments