From: Peng Li Date: Sat, 18 Feb 2017 18:56:47 +0000 (+0800) Subject: vim - only load youcompleteme on osx X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=389bda304271f1cff2b019628db717e9aec64827;p=dotfiles.git vim - only load youcompleteme on osx --- 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