docs(corfu): disabling auto-completion

Close: #7749
Co-authored-by: 45mg <45mg@users.noreply.github.com>
This commit is contained in:
Henrik Lissner 2024-04-01 13:34:37 -04:00
parent 1176aaae0b
commit 1598444bd9
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -203,6 +203,14 @@ A few variables may be set to change behavior of this module:
Whether to enable Corfu in the minibuffer. See its documentation for
additional tweaks.
** Turning off auto-completion
To disable idle (as-you-type) completion, unset ~corfu-auto~:
#+begin_src emacs-lisp
;;; in $DOOMDIR/config.el
(after! corfu
(setq corfu-auto nil))
#+end_src
** Adding CAPFs to a mode
To add other CAPFs on a mode-per-mode basis, put either of the following in your
~config.el~: