mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -170,7 +170,8 @@ instead is more sensible."
|
|||||||
(set-lookup-handlers! 'lsp-ui-mode
|
(set-lookup-handlers! 'lsp-ui-mode
|
||||||
:definition 'lsp-ui-peek-find-definitions
|
:definition 'lsp-ui-peek-find-definitions
|
||||||
:implementations 'lsp-ui-peek-find-implementation
|
: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)
|
(setq lsp-ui-peek-enable (featurep! +peek)
|
||||||
lsp-ui-doc-max-height 8
|
lsp-ui-doc-max-height 8
|
||||||
|
Reference in New Issue
Block a user