diff options
author | jao <jao@gnu.org> | 2022-09-21 22:23:38 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-09-21 22:25:27 +0100 |
commit | 9e1754e8e2bc4fd3957df8e1d127f8e7e40dc70e (patch) | |
tree | d6e29d71a1fe7adc038707ae674faed031a48648 | |
parent | 0fa659ce8c219303ad097af1f149a5e7608eb1a5 (diff) | |
download | elibs-9e1754e8e2bc4fd3957df8e1d127f8e7e40dc70e.tar.gz elibs-9e1754e8e2bc4fd3957df8e1d127f8e7e40dc70e.tar.bz2 |
stop eldoc annoying us with corfu in minibuffer
-rw-r--r-- | custom/jao-custom-completion.el | 4 | ||||
-rw-r--r-- | init.el | 7 |
2 files changed, 6 insertions, 5 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) @@ -393,12 +393,11 @@ ;;;; eldoc (use-package eldoc - :init (setq eldoc-mode-line-string nil + :init (setq eldoc-minor-mode-string nil eldoc-echo-area-use-multiline-p t - eldoc-echo-area-prefer-doc-buffer nil + eldoc-echo-area-prefer-doc-buffer t eldoc-display-functions '(eldoc-display-in-echo-area)) - :config (global-eldoc-mode 1) - :diminish ((eldoc-mode . ""))) + :config (global-eldoc-mode 1)) ;; bookmarks (setq bookmark-default-file "~/.emacs.d/emacs.bmk" |