Skip to content

Conversation

agatan
Copy link
Contributor

@agatan agatan commented Oct 1, 2016

rustfmt command supports formatting with specified ranges.
This PR adds RustFmtRange command using the rustfmt --file-lines feature.

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @steveklabnik (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@euclio
Copy link

euclio commented Nov 17, 2016

Any reason this is stalled?

@steveklabnik steveklabnik merged commit 905de98 into rust-lang:master Nov 18, 2016
@steveklabnik
Copy link
Contributor

@euclio just lost in the shuffle. Sorry about that @agatan !

@agatan
Copy link
Contributor Author

agatan commented Dec 2, 2016

Oh, sorry! I missed your comments!
Thank you to see this PR and merge it :)

da-x added a commit that referenced this pull request Oct 13, 2019
Otherwise, we remove unintended undo points.

We can use the already existing parameter to figure out whether we are
executing from BufWritePre context.

Fixes #358. Issue existed since #33c3e214a606, introduced by #111.
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.

4 participants