Add some corfu tweaks.

This commit is contained in:
KJ 2024-09-10 11:31:57 -04:00
parent 8f0334c51b
commit 7d145f6200

View File

@ -34,6 +34,12 @@
corfu-cycle t
corfu-preview-current nil
corfu-quit-no-match t)
(when (< emacs-major-version 29)
(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-silent)
(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-purify))
(corfu-history-mode 1)
(savehist-mode 1)
(add-to-list 'savehist-additional-variables 'corfu-history)
)
;; Cambia la forma de mostrar y buscar sugerencias (afecta a corfu, pero también a otros como vertico).