From 30d17a4646f48d7edc6378c1078a52144bf7dd6c Mon Sep 17 00:00:00 2001 From: eriedaberrie Date: Fri, 22 Nov 2024 15:32:12 -0800 Subject: [PATCH] Add consult-eglot --- init.el | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 98da9fc..03eac64 100644 --- a/init.el +++ b/init.el @@ -337,12 +337,23 @@ ("C-c s" . consult-yasnippet) ("C-c S" . consult-yasnippet-visit-snippet-file)) +(use-package consult-eglot + :bind (:map eglot-mode-map ("C-c e /" . consult-eglot-symbols))) + +(use-package consult-eglot-embark + :after (embark eglot) + :demand t + :config + (consult-eglot-embark-mode)) + (use-package embark :bind ("C-." . embark-act) ("C-;" . embark-dwim)) -(use-package embark-consult) +(use-package embark-consult + :after embark + :hook (embark-collect-mode . consult-preview-at-point-mode)) (use-package orderless :demand t