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."
961961           (-some->>  contents
962962             lsp-ui-doc--extract
963963             (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  "  " "  " 
968965      (lsp-ui-doc--hide-frame))))
969966
970967(defun  lsp-ui-doc--delete-frame  ()
@@ -1182,7 +1179,10 @@ It is supposed to be called from `lsp-ui--toggle'"
11821179  " Trigger display hover information popup and hide it on next typing." 
11831180  (interactive )
11841181  (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 ))
11861186
11871187(define-minor-mode  lsp-ui-doc-frame-mode
11881188  " Marker mode to add additional key bind for lsp-ui-doc-frame." 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments