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.

12 lines
402 B

  1. let g:deoplete#sources#rust#racer_binary='/home/schneider/.cargo/bin/racer'
  2. let rust_root = system('rustc --print sysroot')[:-2]
  3. let g:deoplete#sources#rust#rust_source_path=rust_root . '/lib/rustlib/src/rust/src'
  4. let g:ale_fixers = {}
  5. let g:ale_fixers['rust'] = ['rustfmt']
  6. let g:ale_fix_on_save=1
  7. nnoremap <F5> :w<cr>:!cargo run<cr>
  8. nnoremap <F6> :w<cr>:!cargo test<cr>
  9. nnoremap <F8> ^wimut <esc>