Skip to content

Only pluralise "buffer" when required - #11018

Merged
pascalkuthe merged 2 commits into
helix-editor:masterfrom
thomasschafer:tschafer-only-use-plural-buffers-when-required
Jun 26, 2024
Merged

Only pluralise "buffer" when required#11018
pascalkuthe merged 2 commits into
helix-editor:masterfrom
thomasschafer:tschafer-only-use-plural-buffers-when-required

Conversation

@thomasschafer

@thomasschafer thomasschafer commented Jun 22, 2024

Copy link
Copy Markdown
Contributor

Rather than showing an error of n unsaved buffer(s) remaining: ..., we use either buffer or buffers as required.

@thomasschafer thomasschafer changed the title Only pluralise buffer when required Only pluralise "buffer" when required Jun 22, 2024

@the-mikedavis the-mikedavis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just a tiny consistency nit - elsewhere where we conditionally add the 's' we always check == 1

Comment thread helix-term/src/commands/typed.rs Outdated
Comment thread helix-term/src/commands/typed.rs Outdated
@thomasschafer

Copy link
Copy Markdown
Contributor Author

Just a tiny consistency nit - elsewhere where we conditionally add the 's' we always check == 1

Sounds good - done

@pascalkuthe
pascalkuthe merged commit 6ed0d0c into helix-editor:master Jun 26, 2024
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
* Only pluralise buffer when required

* Use == 1 instead of != 1
mxxntype pushed a commit to mxxntype/helix that referenced this pull request Aug 14, 2024
* Only pluralise buffer when required

* Use == 1 instead of != 1
kyruzic pushed a commit to kyruzic/helix that referenced this pull request Sep 27, 2024
* Only pluralise buffer when required

* Use == 1 instead of != 1
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