vim: rust: Add fold and binding for test

This commit is contained in:
Simon Bruder 2020-07-08 22:40:50 +02:00
parent 6a80a2d267
commit f3b571e93e
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -125,6 +125,8 @@ Plug 'junegunn/fzf.vim'
" Rust
Plug 'rust-lang/rust.vim'
let g:rustfmt_autosave = 1
let g:rust_fold = 1
map <Leader>rt :RustTest<CR>
" Black (python formatter)
Plug 'psf/black', { 'branch': 'stable' }