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 b1a34c0 commit efdd4a8Copy full SHA for efdd4a8
lsp-ui-doc.el
@@ -570,11 +570,10 @@ HEIGHT is the documentation number of lines."
570
(and (buffer-live-p it) it)
571
(kill-buffer it)))
572
573
-(defun lsp-ui-doc--on-hover (_signature-response hover-response)
+(defun lsp-ui-doc--on-hover (hover)
574
"Handler for `lsp-on-hover-hook'.
575
-_SIGNATURE-RESPONSE and HOVER-RESPONSE and signature and hover
576
-data that has been loaded for the current position."
577
- (--if-let (-some->> hover-response (gethash "contents"))
+HOVER is the returned signature information."
+ (--if-let (-some->> hover (gethash "contents"))
578
(lsp-ui-doc--display (thing-at-point 'symbol t)
579
(lsp-ui-doc--extract it))
580
(eldoc-message nil)
0 commit comments