diff --git a/config.org b/config.org index bdc3ea9..11e7279 100644 --- a/config.org +++ b/config.org @@ -452,6 +452,17 @@ C-c C-c to apply." ** In-buffer completion +*** Consult + +#+BEGIN_SRC +(setq completion-in-region-function + (lambda (&rest args) + (apply (if vertico-mode + #'consult-completion-in-region + #'completion--in-region) + args))) +#+END_SRC + *** Corfu #+BEGIN_SRC emacs-lisp