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

Add feature to disable/enable wrapping on next/prev when cycling through harpoon lists. #387

Merged
merged 4 commits into from
Dec 10, 2023

Conversation

mwishoff
Copy link

@mwishoff mwishoff commented Dec 6, 2023

Implements the ask on #341. Allows for people to configure the usage of harpoon_wrap in harpoon:setup(). By default harpoon_wrap is True which keeps the wrapping behavior that already existed.

…ption in list:prev and list:next. When true allows prev and next to wrap the harpoon list, when false it will not wrap the harpoon list.
@ThePrimeagen
Copy link
Owner

Let's not call this harpoon_wrap, but instead ui_nav_wrap, and default value true

@mwishoff
Copy link
Author

mwishoff commented Dec 9, 2023

Updated the PR. should I update the rest of the formatting that's failing the check to get the format checker to pass?

@ThePrimeagen
Copy link
Owner

I'm not enforcing it at a local level yet, this is still exploratory branch. Things are going very good though

@ThePrimeagen
Copy link
Owner

I think we should be able to test this. Would you mind creating a failing test? Even if it's just eq(true, false) with a name for me to remember to create it

@ThePrimeagen ThePrimeagen merged commit a314382 into ThePrimeagen:harpoon2 Dec 10, 2023
1 of 2 checks passed
@jjiangweilan
Copy link

This feature has been moved. look at #461 (comment)

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.

3 participants