Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase swiper-isearch cursor overlay priority #2151

Closed

Conversation

jrosdahl
Copy link
Contributor

@jrosdahl jrosdahl commented Jul 19, 2019

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
Copy link
Owner

@abo-abo abo-abo commented Jul 20, 2019

Thanks.

astoff pushed a commit to astoff/swiper that referenced this issue 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.

None yet

2 participants