From f5681b07b82967e54c59e1793dccdb03a85cbe81 Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Mon, 20 Apr 2020 18:46:27 +0200 Subject: [PATCH] use 2018 edition for rustfmt --- vim/ftplugin/rust.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/ftplugin/rust.vim b/vim/ftplugin/rust.vim index 499607d..568df70 100644 --- a/vim/ftplugin/rust.vim +++ b/vim/ftplugin/rust.vim @@ -5,6 +5,7 @@ let g:deoplete#sources#rust#rust_source_path=rust_root . '/lib/rustlib/src/rust/ let g:ale_fixers = {} let g:ale_fixers['rust'] = ['rustfmt'] let g:ale_fix_on_save=1 +let g:ale_rust_rustfmt_options='--edition 2018' nnoremap :RustRun nnoremap :RustTest!