From 1b02bb915e5a37dfdf2f09634bbc874b2f461d9a Mon Sep 17 00:00:00 2001 From: Chien-Chin Huang Date: Thu, 21 Aug 2014 11:00:25 -0400 Subject: [PATCH] Disable YCM on beakers --- vimrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index af4ce0a..742bf1b 100644 --- a/vimrc +++ b/vimrc @@ -1,3 +1,8 @@ +"--------------------------------------------------------------------------- +" System variables +"--------------------------------------------------------------------------- +let hostname = substitute(system('hostname'), '\n', '', '') + "--------------------------------------------------------------------------- " Vundle/Plugins installation "--------------------------------------------------------------------------- @@ -28,7 +33,9 @@ Plugin 'majutsushi/tagbar' " Tabular Plugin 'godlygeek/tabular' " YouCompleteMe -Plugin 'Valloric/YouCompleteMe' +if hostname !~ 'beaker' " Disable this on the cluster. + Plugin 'Valloric/YouCompleteMe' +endif " Syntastic Plugin 'scrooloose/syntastic' " Vim-Snippets