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

Implement read command #10447

Merged
merged 8 commits into from Apr 17, 2024
Merged

Conversation

shaleh
Copy link
Contributor

@shaleh shaleh commented Apr 15, 2024

Resurrects #3966. This is 100% @idursun's work. Using read_to_string from #7431.

closes #3796

@kirawi kirawi added the A-command Area: Commands label Apr 15, 2024
@the-mikedavis
Copy link
Member

It's customary to give the original author Co-authored-by attribution when reusing work: https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors

@the-mikedavis the-mikedavis changed the title Implement read command. Implement read command Apr 15, 2024
@shaleh
Copy link
Contributor Author

shaleh commented Apr 15, 2024

I can do that. No problem.

@kirawi kirawi added the S-waiting-on-review Status: Awaiting review from a maintainer. label Apr 16, 2024
helix-term/src/commands/typed.rs Outdated Show resolved Hide resolved
helix-term/src/commands/typed.rs Show resolved Hide resolved
helix-term/src/commands/typed.rs Outdated Show resolved Hide resolved
helix-term/src/commands/typed.rs Outdated Show resolved Hide resolved
helix-term/src/commands/typed.rs Show resolved Hide resolved
helix-term/tests/test/commands.rs Outdated Show resolved Hide resolved
@the-mikedavis
Copy link
Member

For the coauthor part, git/github is expecting the attribution in a Name <email> format so it should be:

Co-authored-by: Ibrahim Dursun <ibrahim@dursun.cc>

To fix the docs CI you can run cargo xtask docgen and commit the results

@the-mikedavis the-mikedavis added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from a maintainer. labels Apr 16, 2024
@shaleh
Copy link
Contributor Author

shaleh commented Apr 16, 2024

Thank you for taking a look @the-mikedavis. All of the items identified have been resolved.

@pascalkuthe
Copy link
Member

the test associated with this command is failing on windows in ci

book/src/keymap.md Outdated Show resolved Hide resolved
shaleh and others added 5 commits April 16, 2024 15:38
Resurrects helix-editor#3966. This is 100% @idursun's work. Using read_to_string from helix-editor#7431.
Co-authored-by: ibrahim@dursun.cc
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Co-authored-by: Ibrahim Dursun <ibrahim@dursun.cc>
@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 17, 2024
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
@the-mikedavis the-mikedavis merged commit 30baff9 into helix-editor:master Apr 17, 2024
6 checks passed
postsolar pushed a commit to postsolar/helix that referenced this pull request Apr 20, 2024
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Co-authored-by: Ibrahim Dursun <ibrahim@dursun.cc>
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.

Add command to read file contents into current buffer (vim's :r)
4 participants