-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with lsp-ui doc? #49
Comments
yes, I've got lsp-ui enabled and I see this too. If you have a moment to experiment you could try adding this to your configuration.
which is exactly what I'll be trying when I get a chance. |
I tried that and it did not quite work, the main buffer is still dimmed when the lsp-ui popup is shown. But sometimes it seems to work, when I move around in the source file and the lsp-ui popup comes and goes sometimes the main buffer is not dimmed. |
Well, it was worth a shot. I'll have to look in more detail. Fortunately this is one I can reproduce... |
I have the same issue and the "hotfix" does not work. |
UPDATE/HOTFIX |
I can confirm this. A bit too early to say without more testing, but this could be an acceptable solution for me. I also think it looks better :-) |
I’ll test as well. Thank you for continuing to look into this!
One thing I can confirm is that child frames are a case I hadn’t considered up to this point. company-box also uses child frames and has a similar bug.
… On Feb 5, 2021, at 6:18 AM, Mikael Springer ***@***.***> wrote:
I can confirm this. A bit too early to say without more testing, but this could be an acceptable solution for me. I also think it looks better :-)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Confirmed disabling |
Hi, In my environment, following snippet has been solved this issue. (defun dimmer-lsp-ui-doc-p ()
(string-prefix-p " *lsp-ui-doc-" (buffer-name)))
(add-to-list 'dimmer-prevent-dimming-predicates #'dimmer-lsp-ui-doc-p)
(defun advices/dimmer-config-change-handler ()
(dimmer--dbg-buffers 1 "dimmer-config-change-handler")
(let ((ignore (cl-some (lambda (f) (and (fboundp f) (funcall f)))
dimmer-prevent-dimming-predicates)))
(dimmer-process-all (not ignore))))
(advice-add 'dimmer-config-change-handler :override #'advices/dimmer-config-change-handler) |
LSP UI Doc causes the main buffer to dim which shouldn't happen
The text was updated successfully, but these errors were encountered: