Added rust conf

This commit is contained in:
Thomas FORGIONE 2017-02-20 11:05:11 +01:00
parent e531eb9cab
commit 00a3bdeff4
No known key found for this signature in database
GPG Key ID: 2A210FFC062E00C3
1 changed files with 7 additions and 0 deletions

7
vimrc
View File

@ -29,6 +29,10 @@ Plugin 'digitaltoad/vim-pug'
Plugin 'https://gogs.tforgione.fr/tforgione/typescript-doc.git'
" My colorscheme
Plugin 'https://gogs.tforgione.fr/tforgione/peach'
" Rust
Plugin 'rust-lang/rust.vim'
Plugin 'cespare/vim-toml'
call vundle#end() " required
filetype plugin indent on " required
@ -135,6 +139,9 @@ let g:instant_markdown_autostart = 0
let g:ycm_global_ycm_extra_conf = '~/.vim/ycm_extra_conf.py'
let g:ycm_confirm_extra_conf = 0
" Rust source
let g:ycm_rust_src_path='/opt/rust/src'
" Goto with F11
nnoremap <silent><F10> :YcmCompleter GoTo<CR>
inoremap <silent><F10> <C-O>:YcmCompleter GoTo<CR>