From 65416ff472e46239ea18995a8db27e6e75c5e979 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 13 Dec 2020 15:40:29 -0500 Subject: [PATCH] Fix #4427: ivy-read-action-format-function = ivy-read-action-format-columns And remove max-mini-window-height, which interferes with ivy's own minibuffer resizing logic, and isn't a terribly helpful default anyway. --- core/core-ui.el | 4 +--- modules/completion/ivy/config.el | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/core-ui.el b/core/core-ui.el index a57448729..beeba5d20 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -344,9 +344,7 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original ;; Expand the minibuffer to fit multi-line text displayed in the echo-area. This ;; doesn't look too great with direnv, however... -(setq resize-mini-windows 'grow-only - ;; But don't let the minibuffer grow beyond this size - max-mini-window-height 0.15) +(setq resize-mini-windows 'grow-only) ;; Typing yes/no is obnoxious when y/n will do (fset #'yes-or-no-p #'y-or-n-p) diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index 7cf440e41..ab23c5572 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -59,7 +59,7 @@ results buffer.") (setq ivy-height 17 ivy-wrap t ivy-fixed-height-minibuffer t - ivy-read-action-format-function #'ivy-hydra-read-action + ivy-read-action-format-function #'ivy-read-action-format-columns projectile-completion-system 'ivy ;; don't show recent files in switch-buffer ivy-use-virtual-buffers nil