diff --git a/.vimrc b/.vimrc index f46a1df..1859b19 100644 --- a/.vimrc +++ b/.vimrc @@ -5,6 +5,7 @@ set encoding=utf8 set rtp+=~/.vim/bundle/vundle/ call vundle#rc() +let s:uname = system("echo -n \"$(uname)\"") "Auto reload .vimrc autocmd! bufwritepost .vimrc source % @@ -72,8 +73,6 @@ Plugin 'chr4/nginx.vim' Plugin 'tpope/vim-dispatch' Plugin 'Xuyuanp/nerdtree-git-plugin' -Plugin 'Valloric/YouCompleteMe' -Plugin 'marijnh/tern_for_vim' Plugin 'ctrlpvim/ctrlp.vim' Plugin 'klen/python-mode' @@ -86,12 +85,15 @@ Plugin 'vim-airline/vim-airline-themes' Plugin 'ntpeters/vim-better-whitespace' Plugin 'ap/vim-buftabline' Plugin 'elzr/vim-json' -Plugin 'OmniSharp/omnisharp-vim' -Plugin 'OrangeT/vim-csharp' Plugin 'morhetz/gruvbox' Plugin 'ryanoasis/vim-devicons' - +if system("uname -m") != "armv7l\n" + Plugin 'Valloric/YouCompleteMe' + Plugin 'marijnh/tern_for_vim' + Plugin 'OmniSharp/omnisharp-vim' + Plugin 'OrangeT/vim-csharp' +endif " step 2: font configuration " " These are the basic settings to get the font to work (required): set guifont=Droid\ Sans\ Mono\ for\ Powerline\ Nerd\ Font\ Complete\ 12