Skip to content

Allow pass custom flags to rustfmt. #338

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

Merged
merged 1 commit into from
Oct 31, 2019
Merged

Allow pass custom flags to rustfmt. #338

merged 1 commit into from
Oct 31, 2019

Conversation

mookid
Copy link
Contributor

@mookid mookid commented Oct 29, 2019

  • rust-rustfmt-switches: new defvar.
  • rust-format-diff-buffer, rust--format-call: use the custom flags.

Fix #289.

@rust-highfive
Copy link

r? @brotzeit

(rust_highfive has picked a reviewer for you, use r? to override)

* rust-rustfmt-switches: new defvar.
* rust-format-diff-buffer, rust--format-call: use the custom flags.
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.

Use cargo fmt instead of rustfmt
3 participants