Indicate that lsp-describe-thing-at-point is async

- otherwise, `+lookup-online-backend-fn` would be called as well
- lsp-describe-thing-at-point was marked as not async in
  d4eb7e31ac
- but `lsp-describe-thing-at-point` calls `lsp--make-request`
  internally (which is async I assume):
  eda51c2166/lsp-mode.el (L4677)
This commit is contained in:
Yiming Chen 2021-04-17 07:58:50 +08:00
parent 193382e2e3
commit 6563e89bda

View file

@ -58,7 +58,7 @@ about it (it will be logged to *Messages* however).")
(set-lookup-handlers! 'lsp-mode (set-lookup-handlers! 'lsp-mode
:definition #'+lsp-lookup-definition-handler :definition #'+lsp-lookup-definition-handler
:references #'+lsp-lookup-references-handler :references #'+lsp-lookup-references-handler
:documentation #'lsp-describe-thing-at-point :documentation '(lsp-describe-thing-at-point :async t)
:implementations #'lsp-find-implementation :implementations #'lsp-find-implementation
:type-definition #'lsp-find-type-definition) :type-definition #'lsp-find-type-definition)