Browse Source

use 2018 edition for rustfmt

master
Schneider 4 years ago
parent
commit
f5681b07b8
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 1
      vim/ftplugin/rust.vim

1
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 <F5> :RustRun<cr>
nnoremap <F6> :RustTest!<cr>

Loading…
Cancel
Save