[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico a68f4cf 03/11: vertico--format-candidates: Only
From: |
Protesilaos Stavrou |
Subject: |
[elpa] externals/vertico a68f4cf 03/11: vertico--format-candidates: Only add space for point if eobp |
Date: |
Thu, 8 Apr 2021 07:11:15 -0400 (EDT) |
branch: externals/vertico
commit a68f4cf6a307b9282394869428272eeaa6e65fe6
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
vertico--format-candidates: Only add space for point if eobp
This avoids a small display glitch if the prompt is selected and the
point is not at the end.
---
vertico.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vertico.el b/vertico.el
index e392b14..e4e0bff 100644
--- a/vertico.el
+++ b/vertico.el
@@ -307,7 +307,7 @@
(vertico--annotate metadata)))
(max-width (- (* 2 (window-width)) 5))
(title)
- (chunks (list #(" " 0 1 (cursor t))))
+ (chunks (and (eobp) (list #(" " 0 1 (cursor t)))))
(group (completion-metadata-get metadata 'x-group-function)))
(dolist (ann-cand candidates)
(push (if (= index (1+ vertico--index))
- [elpa] externals/vertico d65eeac 04/11: vertico--recompute-candidates: Move exact input and default to front, (continued)
- [elpa] externals/vertico d65eeac 04/11: vertico--recompute-candidates: Move exact input and default to front, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico ee77886 01/11: Expand README, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico c734b0f 02/11: Minor simplification and docstring updates, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico d9bb816 09/11: README: Mention a few more useful configurations, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico 403e154 05/11: Fix #2 - Screenshot background, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico edf6a06 08/11: Do not always overwrite resize-mini-windows (See #5), Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico bf76000 06/11: Rename vertico--pred to vertico--sort-predicate, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico 1522d9a 07/11: Extract vertico--file-predicate, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico 953ff1e 10/11: README: Document keymap, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico 82ed224 11/11: Package: Remove license header in order to fix the ELPA linter, Protesilaos Stavrou, 2021/04/08
- [elpa] externals/vertico a68f4cf 03/11: vertico--format-candidates: Only add space for point if eobp,
Protesilaos Stavrou <=