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.
12 lines
385 B
12 lines
385 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
|
|
|
|
nnoremap <F5> :RustRun<cr>
|
|
nnoremap <F6> :RustTest!<cr>
|
|
|
|
nnoremap <F8> ^wimut <esc>
|