Skip to content

Increase swiper-isearch cursor overlay priority - #2151

Closed
jrosdahl wants to merge 1 commit into
abo-abo:masterfrom
jrosdahl:swiper-isearch-cursor-overlay-prio
Closed

jrosdahl wants to merge 1 commit into
abo-abo:masterfrom
jrosdahl:swiper-isearch-cursor-overlay-prio

Conversation

@jrosdahl

Copy link
Copy Markdown
Contributor

Otherwise the swiper match overlays can make the cursor disappear when using swiper-isearch-backward.

Priority 2 seems to work for me, but I haven't really tried to understand why or if it should be higher. Feel free to bump it.

How to reproduce

Using the default ivy--regex-plus re builder:

  1. Visit a buffer with the text "foo bar".
  2. swiper-isearch-backward
  3. Enter search expression "foo bar".

Actual behavior

  1. The cursor overlay in the buffer disappears when "b" is entered.

Expected behavior

  1. The cursor overlay in the buffer is always visible at the start of the match.

Otherwise the swiper match overlays will make the cursor disappear.
@abo-abo abo-abo closed this in f99f13a Jul 20, 2019
@abo-abo

abo-abo commented Jul 20, 2019

Copy link
Copy Markdown
Owner

Thanks.

astoff pushed a commit to astoff/swiper that referenced this pull request Jan 1, 2021
Otherwise the swiper match overlays will make the cursor disappear.

Fixes abo-abo#2151
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants