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 7e2db0e commit 2214908Copy full SHA for 2214908
lsp-ui-doc.el
@@ -582,9 +582,8 @@ HEIGHT is the documentation number of lines."
582
(unless (equal (ad-get-arg 0) (selected-window))
583
(lsp-ui-doc--hide-frame)))
584
585
-(defadvice load-theme (after lsp-ui-doc--delete-frame-on-theme-load activate)
586
- "Force a frame refresh on theme reload."
587
- (lsp-ui-doc--delete-frame))
+(advice-add 'load-theme :before #'lsp-ui-doc--delete-frame)
+(add-hook 'window-configuration-change-hook #'lsp-ui-doc--delete-frame)
588
589
(defun lsp-ui-doc-enable-eldoc ()
590
(setq-local eldoc-documentation-function 'lsp-ui-doc--eldoc))
0 commit comments