Skip to content

Commit 21ce926

Browse files
author
Patrick Thomson
authored
Respect lsp-ui-doc-delay when mousing over text. (#670)
The delay here was hardcoded to 0.5. I would have expected this to be commensurate with the lsp-ui-doc-delay setting. Fixes #664
1 parent e5d4645 commit 21ce926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-ui-doc.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ Argument WIN is current applying window."
10811081
(when same-win
10821082
(setq lsp-ui-doc--last-event point
10831083
lsp-ui-doc--timer-mouse-movement
1084-
(run-with-idle-timer 0.5 nil 'lsp-ui-doc--mouse-display))))))
1084+
(run-with-idle-timer lsp-ui-doc-delay nil 'lsp-ui-doc--mouse-display))))))
10851085

10861086
(defun lsp-ui-doc--disable-mouse-on-prefix nil
10871087
(and (bound-and-true-p lsp-ui-doc-mode)

0 commit comments

Comments
 (0)