[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 412a656 6/7: Always add cursor space to the ove
From: |
Protesilaos Stavrou |
Subject: |
[elpa] externals/vertico 412a656 6/7: Always add cursor space to the overlay |
Date: |
Sat, 10 Apr 2021 15:17:18 -0400 (EDT) |
branch: externals/vertico
commit 412a656b8b2ba19eeeda18e6f24727080193444e
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Always add cursor space to the overlay
The eobp check was there because of the prompt highlighting extension,
which is
gone now. The cursor behaves better if the cursor space is always there.
---
vertico.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/vertico.el b/vertico.el
index 5eb284e..188b3b7 100644
--- a/vertico.el
+++ b/vertico.el
@@ -362,9 +362,7 @@
"Update candidates overlay `vertico--candidates-ov' with LINES."
(move-overlay vertico--candidates-ov (point-max) (point-max))
(overlay-put vertico--candidates-ov 'after-string
- (apply #'concat
- (and (eobp) #(" " 0 1 (cursor t)))
- (and lines "\n") lines))
+ (apply #'concat #(" " 0 1 (cursor t)) (and lines "\n") lines))
(let* ((resize (default-value 'resize-mini-windows))
(delta (- (max (length lines) (if resize 0 vertico-count))
(window-height) -1)))
(when (or (> delta 0) (eq resize t))
- [elpa] externals/vertico updated (5aaa5f6 -> 424a7e0), Protesilaos Stavrou, 2021/04/10
- [elpa] externals/vertico 48472e9 1/7: README: Mention the copyright assignment, Protesilaos Stavrou, 2021/04/10
- [elpa] externals/vertico 53da8b8 3/7: Truncate lines and resize manually (Fix #5), Protesilaos Stavrou, 2021/04/10
- [elpa] externals/vertico 81b3e3b 4/7: Respect `resize-mini-windows' set to nil, Protesilaos Stavrou, 2021/04/10
- [elpa] externals/vertico 424a7e0 7/7: README: Fix invalid keybindings, Protesilaos Stavrou, 2021/04/10
- [elpa] externals/vertico 412a656 6/7: Always add cursor space to the overlay,
Protesilaos Stavrou <=
- [elpa] externals/vertico 486d426 2/7: Pass lines to `vertico--display-candidates`, Protesilaos Stavrou, 2021/04/10
- [elpa] externals/vertico 4198389 5/7: vertico--prompt-selection: Preserve existing faces, Protesilaos Stavrou, 2021/04/10