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

Run rustfmt on save? #43

Closed
kazimuth opened this issue Aug 14, 2015 · 5 comments · Fixed by #52
Closed

Run rustfmt on save? #43

kazimuth opened this issue Aug 14, 2015 · 5 comments · Fixed by #52

Comments

@kazimuth
Copy link

I've been using vim-go, which has this feature, and it's really nice.

@giodamelio
Copy link

👍

@oblitum
Copy link

oblitum commented Oct 25, 2015

👍
Just be careful if implementing this, vim-go is one of a few plugins that implements this correctly, check this issue:

and this comment:

@beefsack
Copy link

👍

@yberreby
Copy link

yberreby commented Nov 8, 2015

👍

@tolbertam
Copy link

For anyone who came here via google or whatever and is wondering how to enable running rustfmt on save, just need to add this to your vim config:

let g:rustfmt_autosave = 1

Covered in the README

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 a pull request may close this issue.

6 participants