Add embark binding for lsp-describe-thing-at-point

This commit is contained in:
Jeremy Dormitzer 2022-04-01 22:45:56 -04:00
parent d2f17e9df8
commit d6db37a85d

View File

@ -91,9 +91,11 @@ targets."
(embark-define-keymap embark-lsp-identifier-actions
"Keymap for actions on LSP identifiers."
:parent embark-identifier-map
("a" lsp-execute-code-action))
("a" lsp-execute-code-action)
("s" lsp-describe-thing-at-point))
(add-to-list 'embark-keymap-alist '(lsp-identifier . embark-lsp-identifier-actions))
(add-to-list 'embark-target-injection-hooks '(lsp-execute-code-action embark--ignore-target)))
(add-to-list 'embark-target-injection-hooks '(lsp-execute-code-action embark--ignore-target))
(add-to-list 'embark-target-injection-hooks '(lsp-describe-thing-at-point embark--ignore-target)))
:general
("C-." #'embark-act)
("M-." #'embark-dwim)