From ccb6bcb61660bafcfbaeb1d969a2eb425b9ad05e Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Thu, 16 May 2019 21:15:40 -0700 Subject: [PATCH] Support the vim-youcompleteme package on Debian. --- dotfiles/vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dotfiles/vimrc b/dotfiles/vimrc index 69fac7b..deacece 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -119,6 +119,11 @@ let g:syntastic_go_checkers = ['govet', 'errcheck', 'go'] " Have F5 run the tests and display errors nnoremap :SyntasticCheck :Errors +" 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