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
This commit is contained in:
Henrik Lissner
2025-04-05 02:13:39 -04:00
parent a13fda7ec0
commit 5020d592da

View File

@ -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)