Skip to content

Conversation

@Lenbok
Copy link
Contributor

@Lenbok Lenbok commented Aug 8, 2022

Previously, calling lsp-ui-doc-hide-frame would not hide the frame when the user focus was inside the frame.

Now in your use-package you can have something like:

  :bind (:map lsp-ui-doc-frame-mode-map
              ("q" . 'lsp-ui-doc-hide)
              ("u" . 'lsp-ui-doc-unfocus-frame))

This is regardless of whether the doc frame was instigated by lsp-ui-doc-show, lsp-ui-doc-glance, or cursor/mouse hover.

Fixes #726

@kiennq

Lenbok added 2 commits August 9, 2022 09:21
Ensure focus is out of doc frame before attempting to hide the frame.
Be explicit that focusing into the doc frame will cancel
"glance" dismissal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lsp-ui-doc frame is not hidden after the doc frame is unfocused

2 participants