+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)
|
lsp-keep-workspace-alive nil)
|
||||||
|
|
||||||
(after! lsp-mode
|
(after! lsp-mode
|
||||||
(set-lookup-handlers! 'lsp-mode
|
(define-key lsp-mode-map
|
||||||
:documentation #'lsp-describe-thing-at-point)
|
[remap +lookup/documentation] #'lsp-describe-thing-at-point)
|
||||||
|
|
||||||
;; Don't prompt to restart LSP servers while quitting Emacs
|
;; Don't prompt to restart LSP servers while quitting Emacs
|
||||||
(add-hook! 'kill-emacs-hook (setq lsp-restart 'ignore)))
|
(add-hook! 'kill-emacs-hook (setq lsp-restart 'ignore)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue