Switch to using clangd with YouCompleteMe

This commit is contained in:
Kenneth Benzie 2020-09-08 00:00:02 +01:00
parent 529867b475
commit 0d953455b3

9
vimrc
View File

@ -49,8 +49,10 @@ let g:ycm_always_populate_location_list = 1
let g:ycm_error_symbol = '▸' let g:ycm_error_symbol = '▸'
let g:ycm_warning_symbol = '▸' let g:ycm_warning_symbol = '▸'
let g:ycm_goto_buffer_command = 'horizontal-split' let g:ycm_goto_buffer_command = 'horizontal-split'
let g:ycm_use_clangd = 0
let g:ycm_auto_hover = 0 let g:ycm_auto_hover = 0
let g:ycm_clangd_uses_ycmd_caching = 0
let g:ycm_clangd_binary_path = exepath('clangd')
packadd YouCompleteMe
" ultisnips - snippet engine " ultisnips - snippet engine
Pack 'SirVer/ultisnips' Pack 'SirVer/ultisnips'
@ -206,8 +208,3 @@ let g:use_osc52 = $TMUX !=# '' &&
if g:use_osc52 if g:use_osc52
packadd oscyank.vim packadd oscyank.vim
endif endif
" Load YouComplteMe if termdebug plugin is not loaded.
if !exists(':Termdebug')
packadd YouCompleteMe
endif