You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#695
For some inexplicable reason, `lsp-ui-doc-show` calls
`lsp-ui-doc--callback` synchronously, while `lsp-ui-doc-glance` went via
a more tortuous asynchronous route (via `lsp-ui-doc--make-request`).
This commit makes `lsp-ui-doc-glance` equivalent to calling
`lsp-ui-doc-show` followed by *delayed* addition to `post-command-hook`
(since we're already in a command) of the
`lsp-ui-doc--glance-hide-frame` function.
Note that `lsp-ui-doc--glance-hide-frame` is also simplified to just
remove itself from `post-command-hook` and directly call
`lsp-ui-doc-hide`.
0 commit comments