vim: rust: Add fold and binding for test
This commit is contained in:
parent
6a80a2d267
commit
f3b571e93e
|
@ -125,6 +125,8 @@ Plug 'junegunn/fzf.vim'
|
||||||
" Rust
|
" Rust
|
||||||
Plug 'rust-lang/rust.vim'
|
Plug 'rust-lang/rust.vim'
|
||||||
let g:rustfmt_autosave = 1
|
let g:rustfmt_autosave = 1
|
||||||
|
let g:rust_fold = 1
|
||||||
|
map <Leader>rt :RustTest<CR>
|
||||||
|
|
||||||
" Black (python formatter)
|
" Black (python formatter)
|
||||||
Plug 'psf/black', { 'branch': 'stable' }
|
Plug 'psf/black', { 'branch': 'stable' }
|
||||||
|
|
Reference in a new issue