branch: master
commit f99f13a368d62c409307e31b37af2e9c6c16279b
Author: Joel Rosdahl <[email protected]>
Commit: Oleh Krehel <[email protected]>

    Increase swiper-isearch cursor overlay priority
    
    Otherwise the swiper match overlays will make the cursor disappear.
    
    Fixes #2151
---
 swiper.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/swiper.el b/swiper.el
index 9d4fdba..fecfb80 100644
--- a/swiper.el
+++ b/swiper.el
@@ -848,6 +848,7 @@ Matched candidates should have `swiper-invocation-face'."
         (overlay-put ov 'after-string (propertize " " 'face 'ivy-cursor))
       (overlay-put ov 'face 'ivy-cursor))
     (overlay-put ov 'window wnd)
+    (overlay-put ov 'priority 2)
     (push ov swiper--overlays)))
 
 (defun swiper--add-line-overlay (wnd)

Reply via email to