diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-12-22 03:14:55 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-12-22 03:14:55 -0500 |
commit | b88214e1fbe91b7cb6339ed2ae387a52881eafc0 (patch) | |
tree | 22faabf7dcca488d48aa84c85be8aa0aa37bb89d | |
parent | 920acbf44da14aea81830c391bcacc29e7995482 (diff) | |
download | conf-b88214e1fbe91b7cb6339ed2ae387a52881eafc0.tar.gz conf-b88214e1fbe91b7cb6339ed2ae387a52881eafc0.zip |
rustfmt on save for rust files
-rw-r--r-- | vim/ftplugin/rust.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/ftplugin/rust.vim b/vim/ftplugin/rust.vim index d090a5c..4624861 100644 --- a/vim/ftplugin/rust.vim +++ b/vim/ftplugin/rust.vim @@ -1,4 +1,5 @@ let b:ale_rust_cargo_use_check = 1 +let b:rustfmt_autosave = 1 if filereadable("Cargo.toml") compiler cargo |