In-buffer-completion: Add consult completion method
This commit is contained in:
parent
40d9146a45
commit
a5efd66ec7
1 changed files with 11 additions and 0 deletions
11
config.org
11
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue