branch: externals/ivy-hydra
commit 256deea51357085b7421c1fefcdeb97c77e2ca57
Author: Gonçalo Santos <[email protected]>
Commit: Gonçalo Santos <[email protected]>
swiper.el (swiper--isearch-format): Prepend swiper-line-face property
This prevents the selected text from being invisible in some faces (like
doom-themes).
---
swiper.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/swiper.el b/swiper.el
index fde1bf0..19d1073 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1585,10 +1585,10 @@ When not running `swiper-isearch' already, start it."
(dotimes (_ (1+ j))
(string-match regex current-str start)
(setq start (match-end 0)))
- (swiper--isearch-highlight current-str j)
- (font-lock-append-text-property
+ (font-lock-prepend-text-property
0 (length current-str)
'face 'swiper-line-face current-str)
+ (swiper--isearch-highlight current-str j)
(push current-str res))
(cl-incf len)
(setq i (1+ index))