All of my important config files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
433 B

let g:deoplete#sources#rust#racer_binary='/home/schneider/.cargo/bin/racer'
let rust_root = system('rustc --print sysroot')[:-2]
let g:deoplete#sources#rust#rust_source_path=rust_root . '/lib/rustlib/src/rust/src'
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>
nnoremap <F8> ^wimut <esc>