Skip to content

Commit efdd4a8

Browse files
committed
Accommodate lsp-mode #579
1 parent b1a34c0 commit efdd4a8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lsp-ui-doc.el

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -570,11 +570,10 @@ HEIGHT is the documentation number of lines."
570570
(and (buffer-live-p it) it)
571571
(kill-buffer it)))
572572

573-
(defun lsp-ui-doc--on-hover (_signature-response hover-response)
573+
(defun lsp-ui-doc--on-hover (hover)
574574
"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"))
575+
HOVER is the returned signature information."
576+
(--if-let (-some->> hover (gethash "contents"))
578577
(lsp-ui-doc--display (thing-at-point 'symbol t)
579578
(lsp-ui-doc--extract it))
580579
(eldoc-message nil)

0 commit comments

Comments
 (0)