We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b421bbb commit 4d9b205Copy full SHA for 4d9b205
cider-overlays.el
@@ -316,7 +316,11 @@ focused."
316
(cider--make-result-overlay font-value
317
:where point
318
:duration cider-eval-result-duration
319
- :prepend-face (or overlay-face 'cider-result-overlay-face)))))
+ :prepend-face (or overlay-face 'cider-result-overlay-face))))
320
+ (max-message-width (* 10 (window-width))))
321
+ (when (> (string-width font-value) max-message-width)
322
+ (setq font-value (concat (substring font-value 0 (- max-message-width 3))
323
+ "...")))
324
(message
325
"%s"
326
(propertize (format "%s%s" cider-eval-result-prefix font-value)
0 commit comments