diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/custom/my-completion.el | 3 | ||||
-rw-r--r-- | emacs/custom/my-packages.el | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/emacs/custom/my-completion.el b/emacs/custom/my-completion.el index ecc5adb..1c2ef98 100644 --- a/emacs/custom/my-completion.el +++ b/emacs/custom/my-completion.el @@ -8,6 +8,7 @@ (require 'vertico-multiform) (require 'marginalia) (require 'corfu) +(require 'corfu-doc) (require 'consult) (require 'savehist) (require 'cape) @@ -31,6 +32,8 @@ (setq corfu-auto t) ;; Enable auto completion (setq corfu-max-width 80) ;; Default is 100 and is too wide +(add-hook 'corfu-mode-hook #'corfu-doc-mode) + (vertico-mode t) ;; Enable vertico globally (vertico-multiform-mode t) ;; Enable vertico globally (marginalia-mode t) ;; Enable marginalia globally diff --git a/emacs/custom/my-packages.el b/emacs/custom/my-packages.el index 569fb40..99cf01b 100644 --- a/emacs/custom/my-packages.el +++ b/emacs/custom/my-packages.el @@ -64,6 +64,7 @@ (straight-use-package 'consult) (straight-use-package 'consult-lsp) (straight-use-package 'corfu) +(straight-use-package 'corfu-doc) (straight-use-package 'marginalia) (straight-use-package 'orderless) (straight-use-package 'tempel) |