diff --git a/emacs/.emacs.d/config/init-completion.el b/emacs/.emacs.d/config/init-completion.el index 3e7d9dc..b0a4454 100644 --- a/emacs/.emacs.d/config/init-completion.el +++ b/emacs/.emacs.d/config/init-completion.el @@ -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)