Enable YouCompleteMe on Windows

This commit is contained in:
Kenneth Benzie 2020-07-19 20:23:37 +01:00
parent 858677ef79
commit 01059ac01a

7
vimrc
View File

@ -36,10 +36,7 @@ endfor
Pack 'mkitt/tabline.vim'
" YouCompleteMe
" TODO: Try out neovim completion plugins to see if they are better
if !platform#is_windows()
Pack 'ycm-core/YouCompleteMe',
\ {'type': 'opt', 'do': '!./install.py --clang-completer'}
Pack 'ycm-core/YouCompleteMe', {'type': 'opt'}
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
let g:ycm_min_num_of_chars_for_completion = 1
@ -53,7 +50,7 @@ if !platform#is_windows()
let g:ycm_warning_symbol = '▸'
let g:ycm_goto_buffer_command = 'horizontal-split'
let g:ycm_use_clangd = 0
endif
" ultisnips - snippet engine
Pack 'SirVer/ultisnips'
Pack 'honza/vim-snippets'