Fix completions in eshell
This commit is contained in:
parent
1964d11362
commit
f8cedaca9a
5
init.el
5
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-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-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")
|
(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
|
:bind
|
||||||
(:map corfu-popupinfo-map
|
(:map corfu-popupinfo-map
|
||||||
("M-n" . corfu-popupinfo-scroll-up)
|
("M-n" . corfu-popupinfo-scroll-up)
|
||||||
|
Loading…
Reference in New Issue
Block a user