diff options
Diffstat (limited to '.vim/after')
-rw-r--r-- | .vim/after/plugin/minpac.vim | 8 | ||||
-rw-r--r-- | .vim/after/plugin/youcompleteme.vim | 3 |
2 files changed, 4 insertions, 7 deletions
diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim index 9dde72d..4cf5921 100644 --- a/.vim/after/plugin/minpac.vim +++ b/.vim/after/plugin/minpac.vim @@ -68,11 +68,5 @@ command! MinpacClean source $MYVIMRC | call InitMinpac() | call minpac#clean() command! MinpacStatus call InitMinpac() | call minpac#status() function! s:build_ycm(hooktype, name) - let ycm_install_options = ' --clangd-completer' - - if executable('go') - let ycm_install_options = ycm_install_options . ' --go-completer' - endif - - exec '!python3 ./install.py' . ycm_install_options + exec '!python3 ./install.py' endfunction diff --git a/.vim/after/plugin/youcompleteme.vim b/.vim/after/plugin/youcompleteme.vim index 1e1e6c4..80888ba 100644 --- a/.vim/after/plugin/youcompleteme.vim +++ b/.vim/after/plugin/youcompleteme.vim @@ -9,6 +9,9 @@ let g:ycm_show_diagnostics_ui = 0 let g:ycm_error_symbol = 'E>' let g:ycm_warning_symbol = 'W>' +let g:ycm_clangd_binary_path = 'clangd' +let g:ycm_gopls_binary_path = 'gopls' + let g:ycm_filetype_whilelist = { \ "c": 1, \ "cpp": 1, |