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

feat(editor): add config for search wrap_around #1516

Merged
merged 3 commits into from
Feb 10, 2022
Merged

feat(editor): add config for search wrap_around #1516

merged 3 commits into from
Feb 10, 2022

Conversation

matoous
Copy link
Contributor

@matoous matoous commented Jan 14, 2022

Adds configuration for search wrap around and moves search config into separate config struct.

Fixes: #1489

@archseer
Copy link
Member

You can probably just disable the lint on that specific method

Copy link
Member

@dead10ck dead10ck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

Copy link
Contributor

@pickfire pickfire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be good but it might break existing users using the same config. I think maybe we want to release this as another minor update rather than patch update, otherwise we risk breaking users config, or maybe we need to have some kind of deprecation mechanism. But now I guess still too new for that.

@matoous
Copy link
Contributor Author

matoous commented Jan 20, 2022

You can probably just disable the lint on that specific method

Disabled for search_impl.

@archseer
Copy link
Member

Thanks for working on this! 🎉

@archseer archseer merged commit fdb9a16 into helix-editor:master Feb 10, 2022
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.

Allow disabling wrap around for search_prev/search_next
4 participants