Added Rust debugging configuration

This commit is contained in:
Dennis Potter 2018-06-13 10:10:52 +02:00
parent fd71474597
commit 717a18d58e
1 changed files with 17 additions and 1 deletions

View File

@ -81,6 +81,18 @@ endfunction
nnoremap <silent> <leader>; :call ToggleHiddenAll()<CR>
" Rust debugging
let g:ycm_rust_src_path = '/home/dennis/code/rust/src'
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_rust_checkers = ['cargo']
call plug#begin()
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
@ -94,7 +106,7 @@ Plug 'bling/vim-bufferline'
Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'}
Plug 'simnalamburt/vim-mundo', {'on': 'MundoToggle'}
Plug 'wvffle/vimterm'
Plug 'Valloric/YouCompleteMe', { 'do': './install.py --clang-completer' }
Plug 'Valloric/YouCompleteMe', { 'do': './install.py --clang-completer --rust-completer' }
Plug 'rdnetto/YCM-generator', { 'branch': 'stable'}
Plug 'chrisbra/Recover.vim'
@ -104,6 +116,10 @@ Plug 'tpope/vim-fugitive'
" python
Plug 'bfredl/nvim-ipy'
" rust
Plug 'rust-lang/rust.vim'
Plug 'vim-syntastic/syntastic'
" debugging
Plug 'sakhnik/nvim-gdb'
call plug#end()