From 1e4567d557d61b8ee56d30a1e299d1a84cfbcb98 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 27 Apr 2023 14:59:24 -0400 Subject: [PATCH] Enable corfu-echo-mode to document completion candidates in echo area --- emacs/.emacs.d/config/init-ide.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-ide.el b/emacs/.emacs.d/config/init-ide.el index e42fe8a..968c419 100644 --- a/emacs/.emacs.d/config/init-ide.el +++ b/emacs/.emacs.d/config/init-ide.el @@ -4,8 +4,10 @@ ;; Corfu-mode provides inline autocompletion (use-package corfu + :straight (:files (:defaults "extensions/corfu-echo.el")) :init (global-corfu-mode) + (corfu-echo-mode) :config (defun corfu-move-to-minibuffer () (interactive) @@ -22,7 +24,9 @@ (add-hook 'minibuffer-setup-hook #'corfu-enable-in-minibuffer) :general (corfu-map "S-SPC" #'corfu-insert-separator - "M-m" #'corfu-move-to-minibuffer)) + "M-m" #'corfu-move-to-minibuffer) + :custom-face + (corfu-echo ((t :inherit default)))) ;; Quick file overview for supported modes (use-package imenu