Noting the lsp-peek handlers as :async
Without this, subsequent handlers registered (e.g. those from other completion frameworks) will also pop up in addition to the peek UI. This creates UI lock-up and is generally undesired.
This commit is contained in:
parent
ef7113d6c4
commit
01b3e1d8d8
1 changed files with 2 additions and 1 deletions
|
@ -170,7 +170,8 @@ instead is more sensible."
|
|||
(set-lookup-handlers! 'lsp-ui-mode
|
||||
:definition 'lsp-ui-peek-find-definitions
|
||||
:implementations 'lsp-ui-peek-find-implementation
|
||||
:references 'lsp-ui-peek-find-references))
|
||||
:references 'lsp-ui-peek-find-references
|
||||
:async t))
|
||||
|
||||
(setq lsp-ui-peek-enable (featurep! +peek)
|
||||
lsp-ui-doc-max-height 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue