Enable corfu-echo-mode to document completion candidates in echo area

This commit is contained in:
Jeremy Dormitzer 2023-04-27 14:59:24 -04:00
parent ae26a51ec4
commit 1e4567d557

View File

@ -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