Fix python support in nvim for Ubuntu

This commit is contained in:
ViViDboarder 2015-08-13 22:37:24 -07:00
parent 90f29722b2
commit 618a2b1b83
3 changed files with 12 additions and 4 deletions

View File

@ -18,7 +18,6 @@ balias cd..='cd ..'
# vim # vim
balias mviml='env VIM_COLOR=github mvim' balias mviml='env VIM_COLOR=github mvim'
balias gvim='mvim'
# yelp # yelp
balias moshdev='mosh dev7-devc' balias moshdev='mosh dev7-devc'

View File

@ -12,9 +12,16 @@ case "$PACKAGE_MANAGER" in
;; ;;
"apt-get") "apt-get")
sudo_package 'libtool libtool-bin autoconf automake cmake g++ pkg-config unzip ninja-build' sudo_package 'libtool libtool-bin autoconf automake cmake g++ pkg-config unzip ninja-build'
# Ensure python support is in nvim
sudo_package 'python-dev python-pip python3-dev python3-pip'
;; ;;
esac esac
sudo pip install neovim
if command_exist pip3 ; then
sudo pip3 install neovim
fi
neovim_dir=$WORKSPACE/neovim neovim_dir=$WORKSPACE/neovim
if [ ! -d $neovim_dir ]; then if [ ! -d $neovim_dir ]; then

View File

@ -1,7 +1,7 @@
#! /bin/bash #! /bin/bash
sudo_package_update sudo_package_update
sudo_package 'screen htop curl wget mercurial ctags tig pv' sudo_package 'screen tmux htop curl wget mercurial ctags tig pv jq'
# Manager specific packages # Manager specific packages
case "$PACKAGE_MANAGER" in case "$PACKAGE_MANAGER" in
@ -13,13 +13,13 @@ case "$PACKAGE_MANAGER" in
;; ;;
"brew") "brew")
package 'vim' package 'vim'
sudo_package 'the_silver_searcher' package 'the_silver_searcher'
;; ;;
"apt-get") "apt-get")
if [ -n "$(apt-cache policy silversearcher-ag)" ] ; then if [ -n "$(apt-cache policy silversearcher-ag)" ] ; then
sudo_package 'silversearcher-ag' sudo_package 'silversearcher-ag'
fi fi
sudo_package 'build-essential bash-completion tmux vim' sudo_package 'build-essential bash-completion vim'
;; ;;
esac esac
@ -27,3 +27,5 @@ esac
# TODO: Install RVM and other ruby requirements and get ruby 1.9.2 # TODO: Install RVM and other ruby requirements and get ruby 1.9.2
sudo gem install rake sudo gem install rake
# install python packages
sudo pip install ipython flake8