summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-04-20 16:25:31 -0500
committerCase Duckworth2021-04-20 16:25:31 -0500
commitec8f21a252069796a87c57ee79506f609e0eaf04 (patch)
treeac4c72766c1aa01c83256f0c997ef12a256ed546
parentOnly grow mini-windows, instead of resizing intensely (diff)
downloademacs-ec8f21a252069796a87c57ee79506f609e0eaf04.tar.gz
emacs-ec8f21a252069796a87c57ee79506f609e0eaf04.zip
Use consult for completion-in-region
-rw-r--r--init.el6
1 files changed, 5 insertions, 1 deletions
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'."
700 xref-show-definitions-function #'consult-xref) 700 xref-show-definitions-function #'consult-xref)
701 701
702 ;; Projects 702 ;; Projects
703 (:option consult-project-root-function #'vc-root-dir)) 703 (:option consult-project-root-function #'vc-root-dir)
704
705 ;; Completion in region (at point)
706 (:option completion-in-region-function #'consult-completion-in-region)
707 )
704 708
705(setup (:straight marginalia) 709(setup (:straight marginalia)
706 (:option marginalia-annotators '(marginalia-annotators-heavy 710 (:option marginalia-annotators '(marginalia-annotators-heavy