branch: master
commit 57e0b9475f4f81aae685d27713bdff849c90f67b
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    swiper.el (swiper--action): 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 289a0f7..7bdcb62 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1058,7 +1058,8 @@ WND, when specified is the window."
 (defun swiper--action (x)
   "Goto line X."
   (let ((ln (1- (get-text-property 0 'swiper-line-number x)))
-        (re (ivy--regex ivy-text)))
+        (re (ivy--regex ivy-text))
+        (case-fold-search (ivy--case-fold-p ivy-text)))
     (if (null x)
         (user-error "No candidates")
       (with-ivy-window

Reply via email to