Skip to content

Commit

Permalink
Increase swiper-isearch cursor overlay priority
Browse files Browse the repository at this point in the history
Otherwise the swiper match overlays will make the cursor disappear.

Fixes abo-abo#2151
  • Loading branch information
jrosdahl authored and astoff committed Jan 1, 2021
1 parent 440846c commit 5f9b8c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swiper.el
Expand Up @@ -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)
Expand Down

0 comments on commit 5f9b8c3

Please sign in to comment.