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
402 B
12 lines
402 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> :w<cr>:!cargo run<cr>
|
|
nnoremap <F6> :w<cr>:!cargo test<cr>
|
|
|
|
nnoremap <F8> ^wimut <esc>
|