lsp-ui
lsp-ui copied to clipboard
lsp-ui-doc-focus-frame does nothing
Hi,
I'm trying to use lsp-ui-doc with the keyboard as show in the gif but for now I can't really make it.
I can for example go over the popup with mouse and scroll to read the content, but even if I click on it, I can't have the focus inside the popup to navigate with the keyboard or whatever.
If I also try with lsp-ui-doc-focus-frame when the frame has popped up, it just does nothing.
Sorry, if my question is a bit stupid or what, it could be just a rookie mistake, but after reading the doc, I couldn't see what I've could have missed.
For reference, here is my config: https://github.com/flagos/emacs-config/blob/master/config.el
Thanks!
@flagos it worked for me with:
(use-package lsp-ui :commands lsp-ui-mode
:bind (("C-c z" . lsp-ui-doc-focus-frame)))
Same here. I can only focus the frame if I manually eval (set-frame-parameter (lsp-ui-doc--get-frame) 'lsp-ui-doc--no-focus nil)
and then click on the frame. Even then, lsp-ui-doc-focus-frame
still does nothing.