From f8cedaca9aea4e6044a36ba938578dea1d18406e Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Mon, 19 Dec 2022 20:43:15 -0500 Subject: [PATCH] Fix completions in eshell --- init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.el b/init.el index d796868..3a48bbe 100644 --- a/init.el +++ b/init.el @@ -881,6 +881,11 @@ DOCSTRING is an optional form that is discarded upon expansion." (corfu-popupinfo-hide nil "Don't hide doc popups while scrolling between candidates") (corfu-popupinfo-delay 0.1 "Wait 0.1 seconds before showing a doc popup for a candidate") (corfu-echo-documentation nil "Disable displaying documentation strings in the echo area") + :hook + ;; Displaying popups aggressively (i.e. without summoning them with a key press) can + ;; cause the cursor to jump around in `eshell-mode' + (eshell-mode-hook . (lambda () + (setq-local corfu-auto nil))) :bind (:map corfu-popupinfo-map ("M-n" . corfu-popupinfo-scroll-up)