emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vertico b94e577 3/6: Truncate multi line candidates to


From: Protesilaos Stavrou
Subject: [elpa] externals/vertico b94e577 3/6: Truncate multi line candidates to a single line
Date: Thu, 8 Apr 2021 11:54:23 -0400 (EDT)

branch: externals/vertico
commit b94e577d7026fa10c744440d5a216d86a9214d13
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Truncate multi line candidates to a single line
---
 vertico.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vertico.el b/vertico.el
index 6aba323..afa37ad 100644
--- a/vertico.el
+++ b/vertico.el
@@ -322,7 +322,7 @@
                                    (min (+ index vertico-count) 
vertico--total))
             (vertico--highlight (vertico--input-after-boundary input) metadata)
             (vertico--annotate metadata)))
-         (max-width (- (* 2 (window-width)) 5))
+         (max-width (- (window-width) 4))
          (title)
          (chunks (and (eobp) (list #(" " 0 1 (cursor t)))))
          (group (completion-metadata-get metadata 'x-group-function)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]