From 5020d592dafc666cee259c8463f2e304826858d1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 5 Apr 2025 02:13:39 -0400 Subject: [PATCH] fix: tooltip-resize-echo-area = t Since we disable tooltip-mode, the echo-area should expand to display multi-line output, to be consistent with our default for resize-mini-windows. This also fixes the truncation of annotations in PDF buffers (#1615). Fix: #1615 --- lisp/doom-ui.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/doom-ui.el b/lisp/doom-ui.el index 71b66b4e1..31f7ad3f8 100644 --- a/lisp/doom-ui.el +++ b/lisp/doom-ui.el @@ -343,7 +343,8 @@ 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) +(setq resize-mini-windows 'grow-only + tooltip-resize-echo-area t) ;; Typing yes/no is obnoxious when y/n will do (if (boundp 'use-short-answers)