[vimrc] Move YouCompleteMe back with the other plugins

This commit is contained in:
lhark 2018-04-30 17:52:33 -04:00
parent a10a5ca098
commit d52f6d60e6

4
vimrc
View file

@ -59,10 +59,10 @@ if has("unix") || has("mac")
map <F5> :UndotreeToggle<CR> map <F5> :UndotreeToggle<CR>
Plugin 'vim-scripts/LaTeX-Box' Plugin 'vim-scripts/LaTeX-Box'
map <LocalLeader>ll :Latexmk<CR> map <LocalLeader>ll :Latexmk<CR>
if isdirectory(expand("/usr/share/vim/vimfiles/third_party/ycmd/")) if isdirectory(expand("$HOME/.vim/bundle/YouCompleteMe"))
"[Workaround for YCM non-portability]" "[Workaround for YCM non-portability]"
"No need for Plugin 'Valloric/YouCompleteMe', it's installed system-wide "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' let g:ycm_server_python_interpreter = '/usr/bin/python2'
"[We're using ale for linting]" "[We're using ale for linting]"
let g:ycm_show_diagnostics_ui = 0 let g:ycm_show_diagnostics_ui = 0