+lookup/documentation -> lsp-describe-thing-at-point
More reliable in lsp-mode
This commit is contained in:
parent
d1ab86c38c
commit
d811f58ed2
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@
|
|||
lsp-keep-workspace-alive nil)
|
||||
|
||||
(after! lsp-mode
|
||||
(set-lookup-handlers! 'lsp-mode
|
||||
:documentation #'lsp-describe-thing-at-point)
|
||||
(define-key lsp-mode-map
|
||||
[remap +lookup/documentation] #'lsp-describe-thing-at-point)
|
||||
|
||||
;; Don't prompt to restart LSP servers while quitting Emacs
|
||||
(add-hook! 'kill-emacs-hook (setq lsp-restart 'ignore)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue