]> git.rmz.io Git - dotfiles.git/commitdiff
vim: remove ycm extra conf file
authorSamir Benmendil <me@rmz.io>
Fri, 8 May 2020 14:52:49 +0000 (15:52 +0100)
committerSamir Benmendil <me@rmz.io>
Fri, 8 May 2020 14:52:49 +0000 (15:52 +0100)
It's not needed for clangd

vim/vimrc

index d69ce50bf9301f2926db05dcd95a06ccdcbb0668..8fedddc67802be8a1494b5d4087a431f9fedfc7a 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -738,9 +738,6 @@ function! YRRunAfterMaps()
 endfunction
 
 " youcompleteme {{{2
 endfunction
 
 " youcompleteme {{{2
-let g:ycm_extra_conf_globlist = ['~/src/*','/mnt/data/src/*']
-" ycm-clangd requires you to symlink the compile_db to the root of the project
-" let g:ycm_global_ycm_extra_conf = expand('$XDG_CONFIG_HOME/vim/ycm_extra_conf.py')
 let g:ycm_clangd_binary_path = 'clangd'   " use clangd in path
 let g:ycm_extra_conf_vim_data = ['getcwd()']
 let g:ycm_add_preview_to_completeopt = 1
 let g:ycm_clangd_binary_path = 'clangd'   " use clangd in path
 let g:ycm_extra_conf_vim_data = ['getcwd()']
 let g:ycm_add_preview_to_completeopt = 1