mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
+lookup/documentation -> lsp-describe-thing-at-point
More reliable in lsp-mode
This commit is contained in:
@ -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)))
|
||||||
|
Reference in New Issue
Block a user