From 389bda304271f1cff2b019628db717e9aec64827 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Sun, 19 Feb 2017 02:56:47 +0800 Subject: [PATCH] vim - only load youcompleteme on osx --- vim/vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index fc97f82..1dd023a 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -296,6 +296,11 @@ nnoremap sr :FufRenewCache " YouCompleteMe ----------------------------------------------------------- {{{ "syntax on, must before the YCM, +" Load YouCompleteMe only on OSX +if !has("osx") + let g:loaded_youcompleteme = 1 +endif + "let g:ycm_collect_identifiers_from_tags_files = 1 let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py' " this is fix youcompleteme python error -- 2.11.0