tools/lookup: Support implementations lookup handlers

This commit is contained in:
Seong Yong-ju 2020-05-12 00:43:16 +09:00
parent 1529dcaaf5
commit 13134726dc
3 changed files with 35 additions and 4 deletions

View file

@ -54,6 +54,7 @@ working on that project after closing the last buffer.")
(set-lookup-handlers! 'lsp-mode :async t
:documentation #'lsp-describe-thing-at-point
:definition #'lsp-find-definition
:implementations #'lsp-find-implementation
:references #'lsp-find-references)
;; TODO Lazy load these. They don't need to be loaded all at once unless the
@ -189,6 +190,7 @@ auto-killed (which is a potentially expensive process)."
(when (featurep! +peek)
(set-lookup-handlers! 'lsp-ui-mode :async t
:definition 'lsp-ui-peek-find-definitions
:implementations 'lsp-ui-peek-find-implementation
:references 'lsp-ui-peek-find-references)))