Use tip YouCompleteMe from ycm-core org
Update to latest, community maintained, YouCompleteMe version and use the same version on all platforms.
This commit is contained in:
parent
2bef425dee
commit
489e6db231
9
vimrc
9
vimrc
@ -38,14 +38,7 @@ Pack 'mkitt/tabline.vim'
|
|||||||
" YouCompleteMe
|
" YouCompleteMe
|
||||||
" TODO: Try out neovim completion plugins to see if they are better
|
" TODO: Try out neovim completion plugins to see if they are better
|
||||||
if !platform#is_windows()
|
if !platform#is_windows()
|
||||||
if platform#is_linux()
|
Pack 'ycm-core/YouCompleteMe',
|
||||||
" YouCompleteMe with parameter completion
|
|
||||||
let s:YouCompleteMe = 'oblitum/YouCompleteMe'
|
|
||||||
else
|
|
||||||
" YouCompleteMe upstream works best on macOS
|
|
||||||
let s:YouCompleteMe = 'Valloric/YouCompleteMe'
|
|
||||||
endif
|
|
||||||
Pack s:YouCompleteMe,
|
|
||||||
\ {'type': 'opt', 'do': '!./install.py --clang-completer'}
|
\ {'type': 'opt', 'do': '!./install.py --clang-completer'}
|
||||||
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
|
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
|
||||||
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
|
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user