Corfu: well and truly fix use-package issues

This commit is contained in:
MitchMarq42 2023-04-07 14:37:00 -08:00
parent 7e93ced3a3
commit c2e74339b6

View File

@ -1047,6 +1047,8 @@ Return nil if DIR is not in a hugo project at all."
:config
(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-silent)
(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-purify)
(corfu-echo-mode)
(corfu-history-mode)
:general
(general-define-key
:states 'insert
@ -1057,17 +1059,6 @@ Return nil if DIR is not in a hugo project at all."
"ESC" 'corfu-quit
"C-h" 'corfu-info-documentation
"C-f" 'corfu-info-location))
;; (elpaca nil
(use-package corfu-echo
:elpaca nil
:custom (corfu-echo-delay t)
:after corfu
:config (corfu-echo-mode))
(use-package corfu-history
:elpaca nil
:after corfu
:config (corfu-history-mode))
;; )
(use-package cape
:after corfu
:init