branch: externals/ivy-hydra
commit 6a22192f11a4aa0d43692bf685fd9b9d75911d00
Author: Troy Brown <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el (ivy--highlight-default): Use match faces consistently
    
    Fixes #2717
    Fixes #2718
    Re ##2080
---
 ivy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index e53aa51..1b32490 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3982,7 +3982,8 @@ in this case."
               (let ((beg (match-beginning i))
                     (end (match-end i)))
                 (when (and beg end)
-                  (unless (and prev (= prev beg))
+                  (unless (or (and prev (= prev beg))
+                              (zerop i))
                     (cl-incf n))
                   (let ((face
                          (cond ((and ivy-use-group-face-if-no-groups

Reply via email to