Support the vim-youcompleteme package on Debian.

This commit is contained in:
David Tomaschik
2019-05-16 21:15:40 -07:00
parent 24c7171a73
commit ccb6bcb616

View File

@@ -119,6 +119,11 @@ let g:syntastic_go_checkers = ['govet', 'errcheck', 'go']
" Have F5 run the tests and display errors
nnoremap <silent> <F5> :SyntasticCheck<CR> :Errors<CR>
" Load vim-ycm if installed on the system level
if isdirectory("/usr/share/vim-youcompleteme")
set runtimepath+=/usr/share/vim-youcompleteme
endif
" Include a .vimrc.local if it exists
if filereadable(glob("~/.vimrc.local"))
source ~/.vimrc.local