diff options
author | Franck Cuny <franck@fcuny.net> | 2022-09-24 12:34:16 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-09-24 12:40:37 -0700 |
commit | f6337a4eae01679c20fd09d51971d43ddd5ea404 (patch) | |
tree | 30c98b5c4636091bcc19f285054f75aa97b0b3ac | |
parent | feat(lang/nix): format the buffer on save (diff) | |
download | emacs.d-f6337a4eae01679c20fd09d51971d43ddd5ea404.tar.gz |
feat(packages): install corfu-doc
Change-Id: I59e41c5a4a8949a2c04aea391eb74f5bbbd71549
-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) |