branch: externals/vertico
commit 06e5dfe1d2a9e90f14a6eb4733a214b983cb1fe4
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    improve minibuffer resizing
---
 minicomp.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/minicomp.el b/minicomp.el
index 5d4d789..3bd884d 100644
--- a/minicomp.el
+++ b/minicomp.el
@@ -353,10 +353,11 @@
 
 (defun minicomp--setup ()
   "Setup completion system."
+  (setq-local truncate-lines nil)
+  (setq-local resize-mini-windows 'grow-only)
   (setq-local max-mini-window-height 1.0)
   (when (boundp 'orderless-skip-highlighting)
     (setq-local orderless-skip-highlighting t))
-  ;;(setq-local truncate-lines t)
   (setq minicomp--input t
         minicomp--candidates-ov (make-overlay (point-max) (point-max))
         minicomp--count-ov (make-overlay (point-min) (point-min)))

Reply via email to