From ec8f21a252069796a87c57ee79506f609e0eaf04 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 20 Apr 2021 16:25:31 -0500 Subject: Use consult for completion-in-region --- init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index 13eb6bb..358bcb1 100644 --- a/init.el +++ b/init.el @@ -700,7 +700,11 @@ if ripgrep is installed, otherwise `consult-grep'." xref-show-definitions-function #'consult-xref) ;; Projects - (:option consult-project-root-function #'vc-root-dir)) + (:option consult-project-root-function #'vc-root-dir) + + ;; Completion in region (at point) + (:option completion-in-region-function #'consult-completion-in-region) + ) (setup (:straight marginalia) (:option marginalia-annotators '(marginalia-annotators-heavy -- cgit 1.4.1-21-gabe81