Skip to content

Commit 6a22192

Browse files
browntsabo-abo
authored andcommitted
ivy.el (ivy--highlight-default): Use match faces consistently
Fixes #2717 Fixes #2718 Re ##2080
1 parent 6bfada5 commit 6a22192

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ivy.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3982,7 +3982,8 @@ in this case."
39823982
(let ((beg (match-beginning i))
39833983
(end (match-end i)))
39843984
(when (and beg end)
3985-
(unless (and prev (= prev beg))
3985+
(unless (or (and prev (= prev beg))
3986+
(zerop i))
39863987
(cl-incf n))
39873988
(let ((face
39883989
(cond ((and ivy-use-group-face-if-no-groups

0 commit comments

Comments
 (0)