Plugins - Rust support
This commit is contained in:
parent
06757edcd6
commit
fa892bf97f
4 changed files with 7 additions and 2 deletions
|
@ -1 +0,0 @@
|
|||
let g:autofmt_autosave = 1
|
|
@ -1 +0,0 @@
|
|||
NeoBundle 'rust-lang/rust.vim'
|
2
plugins/rust.vim.cfg.vim
Normal file
2
plugins/rust.vim.cfg.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
" Format Rust code automatically
|
||||
let g:rustfmt_autosave = 1
|
5
plugins/rust.vim.load.vim
Normal file
5
plugins/rust.vim.load.vim
Normal file
|
@ -0,0 +1,5 @@
|
|||
call dein#add('rust-lang/rust.vim', #{
|
||||
\ lazy: 1,
|
||||
\ on_ft: ['rust'],
|
||||
\ on_cmd: ['Cargo', 'RustFmt', 'RustRun', 'RustExpand', 'RustTest']
|
||||
\ })
|
Loading…
Reference in a new issue