Added rust conf
This commit is contained in:
parent
e531eb9cab
commit
00a3bdeff4
7
vimrc
7
vimrc
|
@ -29,6 +29,10 @@ Plugin 'digitaltoad/vim-pug'
|
||||||
Plugin 'https://gogs.tforgione.fr/tforgione/typescript-doc.git'
|
Plugin 'https://gogs.tforgione.fr/tforgione/typescript-doc.git'
|
||||||
" My colorscheme
|
" My colorscheme
|
||||||
Plugin 'https://gogs.tforgione.fr/tforgione/peach'
|
Plugin 'https://gogs.tforgione.fr/tforgione/peach'
|
||||||
|
" Rust
|
||||||
|
Plugin 'rust-lang/rust.vim'
|
||||||
|
Plugin 'cespare/vim-toml'
|
||||||
|
|
||||||
call vundle#end() " required
|
call vundle#end() " required
|
||||||
filetype plugin indent on " 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_global_ycm_extra_conf = '~/.vim/ycm_extra_conf.py'
|
||||||
let g:ycm_confirm_extra_conf = 0
|
let g:ycm_confirm_extra_conf = 0
|
||||||
|
|
||||||
|
" Rust source
|
||||||
|
let g:ycm_rust_src_path='/opt/rust/src'
|
||||||
|
|
||||||
" Goto with F11
|
" Goto with F11
|
||||||
nnoremap <silent><F10> :YcmCompleter GoTo<CR>
|
nnoremap <silent><F10> :YcmCompleter GoTo<CR>
|
||||||
inoremap <silent><F10> <C-O>:YcmCompleter GoTo<CR>
|
inoremap <silent><F10> <C-O>:YcmCompleter GoTo<CR>
|
||||||
|
|
Loading…
Reference in New Issue