tools/lsp: fall back to lsp-find-{definitions,references} #1521

When lsp-ui-mode is disabled.
This commit is contained in:
Henrik Lissner 2019-06-29 00:33:07 +02:00
parent a9ca62070c
commit 2f268e80bb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -7,7 +7,9 @@
(after! lsp-mode (after! lsp-mode
(set-lookup-handlers! 'lsp-mode :async t (set-lookup-handlers! 'lsp-mode :async t
:documentation 'lsp-describe-thing-at-point) :documentation 'lsp-describe-thing-at-point
:definition 'lsp-find-definition
:references 'lsp-find-references)
;; The original `lsp' initializes too much, too quickly. Things like flycheck, ;; The original `lsp' initializes too much, too quickly. Things like flycheck,
;; company, and yasnippet. Doom's modules already handle these just fine, so ;; company, and yasnippet. Doom's modules already handle these just fine, so