summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-04-20 05:15:27 -0400
committerJesse Luehrs <doy@tozt.net>2020-04-20 05:15:27 -0400
commit6dce036874d75b2eca2ac48047120b571590de2c (patch)
tree4fd288ef0e3af35f0c8c799329585dc6d64e0259 /vim
parent8a5a568a9d6959062a70e41fa48c79ec90d36d2e (diff)
downloadconf-6dce036874d75b2eca2ac48047120b571590de2c.tar.gz
conf-6dce036874d75b2eca2ac48047120b571590de2c.zip
fix ale rustfmt
Diffstat (limited to 'vim')
-rw-r--r--vim/ftplugin/rust.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/ftplugin/rust.vim b/vim/ftplugin/rust.vim
index 2e527e8..b642fad 100644
--- a/vim/ftplugin/rust.vim
+++ b/vim/ftplugin/rust.vim
@@ -3,6 +3,7 @@ let b:ale_rust_rls_toolchain = 'stable'
let b:ale_rust_rls_config = { 'rust': { 'clippy_preference': 'on' } }
let b:ale_fixers = { 'rust': ['rustfmt'] }
let b:ale_fix_on_save = 1
+let b:ale_rust_rustfmt_options = "--edition 2018"
if filereadable("Cargo.toml")
compiler cargo