From 9e1754e8e2bc4fd3957df8e1d127f8e7e40dc70e Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 21 Sep 2022 22:23:38 +0100 Subject: stop eldoc annoying us with corfu in minibuffer --- custom/jao-custom-completion.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'custom') 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) -- cgit v1.2.3