summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--custom/jao-custom-completion.el4
-rw-r--r--init.el7
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)
diff --git a/init.el b/init.el
index dc8b67a..30c3457 100644
--- a/init.el
+++ b/init.el
@@ -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"