diff --git a/emacs/.emacs.d/config/init-completion.el b/emacs/.emacs.d/config/init-completion.el index bca8560..5efc03d 100644 --- a/emacs/.emacs.d/config/init-completion.el +++ b/emacs/.emacs.d/config/init-completion.el @@ -96,6 +96,7 @@ targets." (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-describe-thing-at-point embark--ignore-target))) + (add-to-list 'embark-target-injection-hooks '(xref-find-references embark--ignore-target)) :general ((emacs normal motion insert visual) "C-." #'embark-act) ((emacs normal motion insert visual) "M-." #'embark-dwim)