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

Use an enum to represent yank decision during deletion of a selection #10148

Merged
merged 2 commits into from
Apr 4, 2024
Merged

Conversation

voiceroy
Copy link
Contributor

@voiceroy voiceroy commented Apr 4, 2024

Using an enum makes the intent more clearer as the names of the enum variants indicate the decision more better than booleans

@kirawi kirawi added the A-command Area: Commands label Apr 4, 2024
helix-term/src/commands.rs Show resolved Hide resolved
helix-term/src/commands.rs Outdated Show resolved Hide resolved
@the-mikedavis the-mikedavis added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Apr 4, 2024
the-mikedavis
the-mikedavis previously approved these changes Apr 4, 2024
@the-mikedavis the-mikedavis added S-waiting-on-review Status: Awaiting review from a maintainer. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 4, 2024
@the-mikedavis the-mikedavis added this to the 24.04 milestone Apr 4, 2024
@archseer archseer merged commit 962c714 into helix-editor:master Apr 4, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-command Area: Commands S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants