From c2e74339b6db3610a1c1cc8be0ea3c37aa2cb372 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Fri, 7 Apr 2023 14:37:00 -0800 Subject: [PATCH] Corfu: well and truly fix use-package issues --- lisp/mitch-packages.el | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 59a6806..08a7aef 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -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