rust-lang / rust-mode

Emacs configuration for Rust
Apache License 2.0
1.09k stars 176 forks source link

Support envrc for rustfmt #470

Closed amesgen closed 1 year ago

amesgen commented 1 year ago

I don't have rustfmt installed globally, but rather get it per-project via Nix + direnv.

A more principled solution would be inheritenv, but I think this is simple enough.

Similar to #447.

Less noisy diff due to difftastic: 2022-11-19_15-16

rust-highfive commented 1 year ago

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

Please see the contribution instructions for more information.

brotzeit commented 1 year ago

Sorry for the delay.