From b88214e1fbe91b7cb6339ed2ae387a52881eafc0 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 22 Dec 2018 03:14:55 -0500 Subject: rustfmt on save for rust files --- vim/ftplugin/rust.vim | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3