stupid corfu minibuffer fix

This commit is contained in:
Sakooooo 2024-09-14 14:48:14 +04:00
parent 37d99bed8a
commit d4d2ce2236
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -575,7 +575,7 @@ kept-old-versions 5)
(defun corfu-enable-in-minibuffer () (defun corfu-enable-in-minibuffer ()
"Enable Corfu in the minibuffer if `completion-at-point' is bound." "Enable Corfu in the minibuffer if `completion-at-point' is bound."
(when (where-is-internal #'completion-at-point (list (current-local-map))) (when (where-is-internal #'completion-at-point (list (current-local-map)))
;; (setq-local corfu-auto nil) ;; Enable/disable auto completion (setq-local corfu-auto nil) ;; Enable/disable auto completion
(setq-local corfu-echo-delay nil ;; Disable automatic echo and popup (setq-local corfu-echo-delay nil ;; Disable automatic echo and popup
corfu-popupinfo-delay nil) corfu-popupinfo-delay nil)
(corfu-mode 1))) (corfu-mode 1)))