From d52f6d60e6bb89153c13d8a5f98badd22f9ba1ec Mon Sep 17 00:00:00 2001 From: lhark Date: Mon, 30 Apr 2018 17:52:33 -0400 Subject: [PATCH] [vimrc] Move YouCompleteMe back with the other plugins --- vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index fe2bbb6..36febae 100644 --- a/vimrc +++ b/vimrc @@ -59,10 +59,10 @@ if has("unix") || has("mac") map :UndotreeToggle Plugin 'vim-scripts/LaTeX-Box' map ll :Latexmk - if isdirectory(expand("/usr/share/vim/vimfiles/third_party/ycmd/")) + if isdirectory(expand("$HOME/.vim/bundle/YouCompleteMe")) "[Workaround for YCM non-portability]" "No need for Plugin 'Valloric/YouCompleteMe', it's installed system-wide - let g:ycm_global_ycm_extra_conf = '/usr/share/vim/vimfiles/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py' + let g:ycm_global_ycm_extra_conf = '$HOME/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py' let g:ycm_server_python_interpreter = '/usr/bin/python2' "[We're using ale for linting]" let g:ycm_show_diagnostics_ui = 0