branch: master
commit 3a3774186507dfefa5eab29d5fee525535e66e95
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
swiper.el (swiper--update-input-ivy): Set case-fold-search
Re #2226
---
swiper.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/swiper.el b/swiper.el
index 7bdcb62..e41b96d 100644
--- a/swiper.el
+++ b/swiper.el
@@ -916,7 +916,8 @@ the face, window and priority of the overlay."
(swiper--cleanup)
(when (> (length (ivy-state-current ivy-last)) 0)
(let ((regexps (swiper--positive-regexps ivy-text))
- (re-idx -1))
+ (re-idx -1)
+ (case-fold-search (ivy--case-fold-p ivy-text)))
(dolist (re regexps)
(setq re-idx (1+ re-idx))
(let* ((re (replace-regexp-in-string