Skip to content

Commit 321afde

Browse files
committed
fix ubuntu error
1 parent 7f57b4a commit 321afde

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

scripts/init-vim-centos.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,12 @@ yum install -y gcc gcc-c++ kernel-devel cmake golang
55

66
sudo yum -y remove vim
77

8-
cd ~ && rm -rf vim && git clone git@github.com:vim/vim.git && cd vim
8+
cd ~ && rm -rf vim && git clone https://github.com/vim/vim.git && cd vim
99
./configure --with-features=huge \
1010
--enable-multibyte \
1111
--enable-rubyinterp=yes \
12-
#--enable-pythoninterp=yes \
13-
#--with-python-config-dir=/usr/lib/python2.7/config \
14-
#--enable-python3interp=yes \
15-
#--with-python3-config-dir=/usr/lib/python3.6/config \
16-
--enable-pythoninterp=dynamic \
17-
--enable-python3interp=dynamic \
12+
--enable-pythoninterp=yes \
13+
--enable-python3interp=yes \
1814
--enable-perlinterp=yes \
1915
--enable-luainterp=yes \
2016
--enable-gui=gtk2 \

scripts/init-vim-ubuntu.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,8 @@ cd ~ && rm -rf vim && git clone https://github.com/vim/vim.git && cd vim
2424
./configure --with-features=huge \
2525
--enable-multibyte \
2626
--enable-rubyinterp=yes \
27-
#--enable-pythoninterp=yes \
28-
#--with-python-config-dir=/usr/lib/python2.7/config \
29-
#--enable-python3interp=yes \
30-
#--with-python3-config-dir=/usr/lib/python3.6/config \
31-
--enable-pythoninterp=dynamic \
32-
--enable-python3interp=dynamic \
27+
--enable-pythoninterp=yes \
28+
--enable-python3interp=yes \
3329
--enable-perlinterp=yes \
3430
--enable-luainterp=yes \
3531
--enable-gui=gtk2 \

vimrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Plug 'jnurmine/Zenburn'
2424
Plug 'flazz/vim-colorschemes'
2525

2626
" best auto complete tool I have ever used(jedi, supertab...)
27-
Plug 'Valloric/YouCompleteMe', {'tag': 'c9ff2177'}
27+
Plug 'Valloric/YouCompleteMe', {'tag': '1e38a2b'}
2828

2929
" tree explore plugin
3030
Plug 'scrooloose/nerdtree'

0 commit comments

Comments
 (0)