]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: add global ycm_extra_conf
[dotfiles.git] / vim / vimrc
index e35d604c193ed0feaef3832b5684f5fbe02e11cb..34da981aca40b3ae32ecda8e6d97818b8967b363 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -431,8 +431,9 @@ let g:tagbar_iconchars = ['+', '-']
 let g:UltiSnipsEditSplit = 'vertical'
 let g:UltiSnipsSnippetsDir = "$XDG_CONFIG_HOME/vim/ultisnips"
 
-" YouCompleteMe {{{2
+" youcompleteme {{{2
 let g:ycm_extra_conf_globlist = ['~/src/*','/mnt/data/src/*']
+let g:ycm_global_ycm_extra_conf = expand('$XDG_CONFIG_HOME/vim/ycm_extra_conf.py')
 let g:ycm_add_preview_to_completeopt = 1
 let g:ycm_autoclose_preview_window_after_insertion = 1
 "let g:ycm_extra_conf_vim_data = ['%:p']