summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-completion.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-21 22:23:38 +0100
committerjao <jao@gnu.org>2022-09-21 22:25:27 +0100
commit9e1754e8e2bc4fd3957df8e1d127f8e7e40dc70e (patch)
treed6e29d71a1fe7adc038707ae674faed031a48648 /custom/jao-custom-completion.el
parent0fa659ce8c219303ad097af1f149a5e7608eb1a5 (diff)
downloadelibs-9e1754e8e2bc4fd3957df8e1d127f8e7e40dc70e.tar.gz
elibs-9e1754e8e2bc4fd3957df8e1d127f8e7e40dc70e.tar.bz2
stop eldoc annoying us with corfu in minibuffer
Diffstat (limited to 'custom/jao-custom-completion.el')
-rw-r--r--custom/jao-custom-completion.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el
index 089da6b..8e8e7fc 100644
--- a/custom/jao-custom-completion.el
+++ b/custom/jao-custom-completion.el
@@ -116,7 +116,9 @@
("C-p" . jao-corfu-quit-or-previous)))
(defun corfu-in-minibuffer ()
- (when (not (bound-and-true-p vertico--input)) (corfu-mode 1)))
+ (when (not (bound-and-true-p vertico--input))
+ (setq-local corfu-echo-documentation nil)
+ (corfu-mode 1)))
(when (display-graphic-p)
(add-hook 'minibuffer-setup-hook #'corfu-in-minibuffer 1)