File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -961,10 +961,7 @@ BUFFER is the buffer where the request has been made."
961
961
(-some->> contents
962
962
lsp-ui-doc--extract
963
963
(replace-regexp-in-string " \r " " " )
964
- (replace-regexp-in-string " " " " )))
965
- (when lsp-ui-doc--unfocus-frame-timer
966
- (cancel-timer lsp-ui-doc--unfocus-frame-timer))
967
- (add-hook 'post-command-hook 'lsp-ui-doc--glance-hide-frame ))
964
+ (replace-regexp-in-string " " " " ))))
968
965
(lsp-ui-doc--hide-frame))))
969
966
970
967
(defun lsp-ui-doc--delete-frame ()
@@ -1182,7 +1179,10 @@ It is supposed to be called from `lsp-ui--toggle'"
1182
1179
" Trigger display hover information popup and hide it on next typing."
1183
1180
(interactive )
1184
1181
(let ((lsp-ui-doc-show-with-cursor t ))
1185
- (lsp-ui-doc--make-request)))
1182
+ (lsp-ui-doc--make-request))
1183
+ (when lsp-ui-doc--unfocus-frame-timer
1184
+ (cancel-timer lsp-ui-doc--unfocus-frame-timer))
1185
+ (add-hook 'post-command-hook 'lsp-ui-doc--glance-hide-frame ))
1186
1186
1187
1187
(define-minor-mode lsp-ui-doc-frame-mode
1188
1188
" Marker mode to add additional key bind for lsp-ui-doc-frame."
You can’t perform that action at this time.
0 commit comments